2
0
forked from Ivasoft/openwrt

bcm53xx: use static NVRAM pointer for now

This will allow us to sync with code sent for upstream.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43608
This commit is contained in:
Rafał Miłecki
2014-12-10 19:56:56 +00:00
parent a1da38f7b1
commit b0b43e1ef9
4 changed files with 14 additions and 534 deletions

View File

@@ -637,9 +637,7 @@ static void bcm47xx_sprom_fill(struct ssb_sprom *sprom,
static int bcm47xx_sprom_getenv(const struct bcm47xx_sprom_fill *fill,
const char *name, char *val, size_t val_len)
{
const struct platform_device *nvram_dev = fill->priv;
return bcm47xx_nvram_getenv(&nvram_dev->dev, name, val, val_len);
return bcm47xx_nvram_getenv(name, val, val_len);
};
static int bcm47xx_sprom_probe(struct platform_device *pdev)