brcm47xx: initial 2.6.39 support for brcm47xx
[openwrt/svn-archive/archive.git] / target / linux / brcm47xx / patches-2.6.39 / 999-wl_exports.patch
1 --- a/arch/mips/bcm47xx/nvram.c
2 +++ b/arch/mips/bcm47xx/nvram.c
3 @@ -21,7 +21,8 @@
4 #include <asm/mach-bcm47xx/nvram.h>
5 #include <asm/mach-bcm47xx/bcm47xx.h>
6
7 -static char nvram_buf[NVRAM_SPACE];
8 +char nvram_buf[NVRAM_SPACE];
9 +EXPORT_SYMBOL(nvram_buf);
10 static int cfe_env;
11 extern char *cfe_env_get(char *nv_buf, const char *name);
12
13 --- a/arch/mips/mm/cache.c
14 +++ b/arch/mips/mm/cache.c
15 @@ -52,6 +52,7 @@ void (*_dma_cache_wback)(unsigned long s
16 void (*_dma_cache_inv)(unsigned long start, unsigned long size);
17
18 EXPORT_SYMBOL(_dma_cache_wback_inv);
19 +EXPORT_SYMBOL(_dma_cache_inv);
20
21 #endif /* CONFIG_DMA_NONCOHERENT */
22