Skip to content

Commit

Permalink
MIPS: BCM47XX: rename early_nvram_init to nvram_init
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hauke Mehrtens authored and John Crispin committed Feb 15, 2013
1 parent c448567 commit e58da16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/mips/bcm47xx/nvram.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ static int nvram_init_bcma(void)
}
#endif

static int early_nvram_init(void)
static int nvram_init(void)
{
switch (bcm47xx_bus_type) {
#ifdef CONFIG_BCM47XX_SSB
Expand All @@ -136,7 +136,7 @@ int nvram_getenv(char *name, char *val, size_t val_len)
return -EINVAL;

if (!nvram_buf[0]) {
err = early_nvram_init();
err = nvram_init();
if (err)
return err;
}
Expand Down

0 comments on commit e58da16

Please sign in to comment.