X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/31a40f97ef54e10e2b3dc3cacb9cff436657c586..55ef51a4008fca79fe29e6f9050cf29f2f9483f1:/target/linux/brcm47xx/patches-3.0/400-arch-bcm47xx.patch diff --git a/target/linux/brcm47xx/patches-3.0/400-arch-bcm47xx.patch b/target/linux/brcm47xx/patches-3.0/400-arch-bcm47xx.patch index fe23dc61c..46d47e3d0 100644 --- a/target/linux/brcm47xx/patches-3.0/400-arch-bcm47xx.patch +++ b/target/linux/brcm47xx/patches-3.0/400-arch-bcm47xx.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm47xx/nvram.c +++ b/arch/mips/bcm47xx/nvram.c -@@ -117,3 +117,30 @@ int nvram_getenv(char *name, char *val, +@@ -199,3 +199,30 @@ int nvram_getenv(char *name, char *val, return NVRAM_ERR_ENVNOTFOUND; } EXPORT_SYMBOL(nvram_getenv); @@ -33,8 +33,8 @@ +EXPORT_SYMBOL(nvram_get); --- a/arch/mips/bcm47xx/setup.c +++ b/arch/mips/bcm47xx/setup.c -@@ -438,3 +438,20 @@ static int __init bcm47xx_register_flash - return 0; +@@ -468,3 +468,20 @@ static int __init bcm47xx_register_flash + return -1; } fs_initcall(bcm47xx_register_flash); +