aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/bcm47xx/nvram.c
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2012-12-26 14:51:12 -0500
committerJohn Crispin <blogic@openwrt.org>2013-02-15 13:01:56 -0500
commite58da16f716c0e7822e64a5d8a1f413041bc912e (patch)
treec2f244fa5971eb4d421ad7197577b9d66a973946 /arch/mips/bcm47xx/nvram.c
parentc4485671fbbb6fc453c2fb2dbb4bfc374770b0e7 (diff)
MIPS: BCM47XX: rename early_nvram_init to nvram_init
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Patchwork: http://patchwork.linux-mips.org/patch/4742/ Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/mips/bcm47xx/nvram.c')
-rw-r--r--arch/mips/bcm47xx/nvram.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/bcm47xx/nvram.c b/arch/mips/bcm47xx/nvram.c
index 42e527121314..6cf3ef29d844 100644
--- a/arch/mips/bcm47xx/nvram.c
+++ b/arch/mips/bcm47xx/nvram.c
@@ -112,7 +112,7 @@ static int nvram_init_bcma(void)
112} 112}
113#endif 113#endif
114 114
115static int early_nvram_init(void) 115static int nvram_init(void)
116{ 116{
117 switch (bcm47xx_bus_type) { 117 switch (bcm47xx_bus_type) {
118#ifdef CONFIG_BCM47XX_SSB 118#ifdef CONFIG_BCM47XX_SSB
@@ -136,7 +136,7 @@ int nvram_getenv(char *name, char *val, size_t val_len)
136 return -EINVAL; 136 return -EINVAL;
137 137
138 if (!nvram_buf[0]) { 138 if (!nvram_buf[0]) {
139 err = early_nvram_init(); 139 err = nvram_init();
140 if (err) 140 if (err)
141 return err; 141 return err;
142 } 142 }