Commit e58da16f authored by Hauke Mehrtens's avatar Hauke Mehrtens Committed by John Crispin

MIPS: BCM47XX: rename early_nvram_init to nvram_init

Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
Patchwork: http://patchwork.linux-mips.org/patch/4742/Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>
parent c4485671
...@@ -112,7 +112,7 @@ static int nvram_init_bcma(void) ...@@ -112,7 +112,7 @@ static int nvram_init_bcma(void)
} }
#endif #endif
static int early_nvram_init(void) static int nvram_init(void)
{ {
switch (bcm47xx_bus_type) { switch (bcm47xx_bus_type) {
#ifdef CONFIG_BCM47XX_SSB #ifdef CONFIG_BCM47XX_SSB
...@@ -136,7 +136,7 @@ int nvram_getenv(char *name, char *val, size_t val_len) ...@@ -136,7 +136,7 @@ int nvram_getenv(char *name, char *val, size_t val_len)
return -EINVAL; return -EINVAL;
if (!nvram_buf[0]) { if (!nvram_buf[0]) {
err = early_nvram_init(); err = nvram_init();
if (err) if (err)
return err; return err;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment