aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-3.18/999-wl_exports.patch
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-04-01 20:23:37 +0000
committerRafał Miłecki <zajec5@gmail.com>2015-04-01 20:23:37 +0000
commitf7a510882f94bf60afcaf5e37f276ff896b12140 (patch)
treefcf24b7effb515405a9d2a809e67df0c6859cf30 /target/linux/brcm47xx/patches-3.18/999-wl_exports.patch
parentee006ddf86516380f1e3560c464be1c01cd48a18 (diff)
downloadmaster-187ad058-f7a510882f94bf60afcaf5e37f276ff896b12140.tar.gz
master-187ad058-f7a510882f94bf60afcaf5e37f276ff896b12140.tar.bz2
master-187ad058-f7a510882f94bf60afcaf5e37f276ff896b12140.zip
brcm47xx: backport two MIPS nvram.c patches
Also replace SPROM patch with (the same) mainlined version. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45227 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-3.18/999-wl_exports.patch')
-rw-r--r--target/linux/brcm47xx/patches-3.18/999-wl_exports.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/brcm47xx/patches-3.18/999-wl_exports.patch b/target/linux/brcm47xx/patches-3.18/999-wl_exports.patch
index 0e62ab1360..c74c4cca24 100644
--- a/target/linux/brcm47xx/patches-3.18/999-wl_exports.patch
+++ b/target/linux/brcm47xx/patches-3.18/999-wl_exports.patch
@@ -1,8 +1,8 @@
--- a/arch/mips/bcm47xx/nvram.c
+++ b/arch/mips/bcm47xx/nvram.c
-@@ -20,7 +20,8 @@
- #include <bcm47xx_nvram.h>
- #include <asm/mach-bcm47xx/bcm47xx.h>
+@@ -31,7 +31,8 @@ struct nvram_header {
+ u32 config_ncdl; /* ncdl values for memc */
+ };
-static char nvram_buf[NVRAM_SPACE];
+char nvram_buf[NVRAM_SPACE];