projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c448567
)
MIPS: BCM47XX: rename early_nvram_init to nvram_init
author
Hauke Mehrtens
<hauke@hauke-m.de>
Wed, 26 Dec 2012 19:51:12 +0000
(19:51 +0000)
committer
John Crispin
<blogic@openwrt.org>
Fri, 15 Feb 2013 18:01:56 +0000
(19:01 +0100)
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>
arch/mips/bcm47xx/nvram.c
patch
|
blob
|
history
diff --git
a/arch/mips/bcm47xx/nvram.c
b/arch/mips/bcm47xx/nvram.c
index
42e5271
..
6cf3ef2
100644
(file)
--- a/
arch/mips/bcm47xx/nvram.c
+++ b/
arch/mips/bcm47xx/nvram.c
@@
-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
@@
-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;
}