1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
4 #include <linux/ssb/ssb.h>
5 #include <linux/gpio_buttons.h>
6 #include <linux/input.h>
7 +#include <linux/export.h>
8 #include <asm/addrspace.h>
9 #include <bcm63xx_board.h>
10 #include <bcm63xx_cpu.h>
11 @@ -38,6 +39,13 @@ static unsigned int mac_addr_used;
12 static struct board_info board;
15 + * Required export for WL
17 +#define NVRAM_SPACE 0x8000
18 +char nvram_buf[NVRAM_SPACE];
19 +EXPORT_SYMBOL(nvram_buf);
24 #ifdef CONFIG_BCM63XX_CPU_6338
25 @@ -749,6 +757,7 @@ void __init board_prom_init(void)
27 /* extract nvram data */
28 memcpy(&nvram, boot_addr + BCM963XX_NVRAM_OFFSET, sizeof(nvram));
29 + memcpy(&nvram_buf, boot_addr + BCM963XX_NVRAM_OFFSET, NVRAM_SPACE);
31 /* check checksum before using data */
32 if (nvram.version <= 4)
33 --- a/arch/mips/mm/cache.c
34 +++ b/arch/mips/mm/cache.c
35 @@ -57,6 +57,7 @@ void (*_dma_cache_wback)(unsigned long s
36 void (*_dma_cache_inv)(unsigned long start, unsigned long size);
38 EXPORT_SYMBOL(_dma_cache_wback_inv);
39 +EXPORT_SYMBOL(_dma_cache_inv);
41 #endif /* CONFIG_DMA_NONCOHERENT */