brcm47xx: add some exports to be used by the new wl driver
[openwrt.git] / target / linux / brcm47xx / patches-2.6.32 / 999-wl_exports.patch
1 --- a/arch/mips/bcm47xx/nvram.c
2 +++ b/arch/mips/bcm47xx/nvram.c
3 @@ -29,7 +29,9 @@
4 #define MB * 1048576
5 extern struct ssb_bus ssb_bcm47xx;
6
7 -static char nvram_buf[NVRAM_SPACE];
8 +char nvram_buf[NVRAM_SPACE];
9 +EXPORT_SYMBOL(nvram_buf);
10 +
11 static int cfe_env;
12 extern char *cfe_env_get(char *nv_buf, const char *name);
13
14 --- a/arch/mips/mm/cache.c
15 +++ b/arch/mips/mm/cache.c
16 @@ -52,6 +52,7 @@ void (*_dma_cache_wback)(unsigned long s
17 void (*_dma_cache_inv)(unsigned long start, unsigned long size);
18
19 EXPORT_SYMBOL(_dma_cache_wback_inv);
20 +EXPORT_SYMBOL(_dma_cache_inv);
21
22 #endif /* CONFIG_DMA_NONCOHERENT */
23
This page took 0.037815 seconds and 5 git commands to generate.