ccad06da051be0eaa0be737167345810cfabf78a
[openwrt/openwrt.git] / target / linux / brcm47xx / patches-4.9 / 999-wl_exports.patch
1 --- a/drivers/firmware/broadcom/bcm47xx_nvram.c
2 +++ b/drivers/firmware/broadcom/bcm47xx_nvram.c
3 @@ -34,7 +34,8 @@ struct nvram_header {
4 u32 config_ncdl; /* ncdl values for memc */
5 };
6
7 -static char nvram_buf[NVRAM_SPACE];
8 +char nvram_buf[NVRAM_SPACE];
9 +EXPORT_SYMBOL(nvram_buf);
10 static size_t nvram_len;
11 static const u32 nvram_sizes[] = {0x8000, 0xF000, 0x10000};
12 static int cfe_env;
13 --- a/arch/mips/mm/cache.c
14 +++ b/arch/mips/mm/cache.c
15 @@ -63,6 +63,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 || CONFIG_DMA_MAYBE_COHERENT */
22