brcm47xx: add support for NAND flash on devices using bcma
[librecmc/librecmc.git] / target / linux / brcm47xx / patches-3.2 / 999-wl_exports.patch
index 5f8e8d3508b0843cb59c31f136bf5d213fa6d80d..550f4c968373ed2d656ffaacec924cbfed6afc67 100644 (file)
@@ -1,8 +1,8 @@
 --- a/arch/mips/bcm47xx/nvram.c
 +++ b/arch/mips/bcm47xx/nvram.c
-@@ -22,7 +22,8 @@
- #include <asm/mach-bcm47xx/bcm47xx.h>
+@@ -24,7 +24,8 @@
  #include <asm/mach-bcm47xx/bus.h>
+ #include <linux/mtd/bcm47xx_nand.h>
  
 -static char nvram_buf[NVRAM_SPACE];
 +char nvram_buf[NVRAM_SPACE];