X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fbrcm47xx%2Fpatches-3.10%2F400-arch-bcm47xx.patch;h=ed3e81600ab19841a5e11fee6e6d4617f3579fe3;hb=b82d0dc241632d33e8208c35dafae017fc872c6e;hp=9d7c9bb934b64d15e23f8a185243f773c9221f89;hpb=d1fe9ae4b4d812824fd58bfb65ae8370a6222524;p=openwrt.git diff --git a/target/linux/brcm47xx/patches-3.10/400-arch-bcm47xx.patch b/target/linux/brcm47xx/patches-3.10/400-arch-bcm47xx.patch index 9d7c9bb934..ed3e81600a 100644 --- a/target/linux/brcm47xx/patches-3.10/400-arch-bcm47xx.patch +++ b/target/linux/brcm47xx/patches-3.10/400-arch-bcm47xx.patch @@ -1,9 +1,9 @@ --- a/arch/mips/bcm47xx/nvram.c +++ b/arch/mips/bcm47xx/nvram.c -@@ -190,3 +190,30 @@ int bcm47xx_nvram_getenv(char *name, cha +@@ -210,3 +210,30 @@ int bcm47xx_nvram_gpio_pin(const char *n return -ENOENT; } - EXPORT_SYMBOL(bcm47xx_nvram_getenv); + EXPORT_SYMBOL(bcm47xx_nvram_gpio_pin); + +char *nvram_get(const char *name) +{