brcm63xx: remove broken DSP platform device code
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.14 / 800-wl_exports.patch
1 --- a/arch/mips/bcm63xx/nvram.c
2 +++ b/arch/mips/bcm63xx/nvram.c
3 @@ -24,6 +24,12 @@
4 static struct bcm963xx_nvram nvram;
5 static int mac_addr_used;
6
7 +/*
8 + * Required export for WL
9 + */
10 +u32 nvram_buf[5] = { 0, cpu_to_le32(20), 0, 0, 0 };
11 +EXPORT_SYMBOL(nvram_buf);
12 +
13 void __init bcm63xx_nvram_init(void *addr)
14 {
15 u32 crc, expected_crc;
16 --- a/arch/mips/mm/cache.c
17 +++ b/arch/mips/mm/cache.c
18 @@ -64,6 +64,7 @@ void (*_dma_cache_wback)(unsigned long s
19 void (*_dma_cache_inv)(unsigned long start, unsigned long size);
20
21 EXPORT_SYMBOL(_dma_cache_wback_inv);
22 +EXPORT_SYMBOL(_dma_cache_inv);
23
24 #endif /* CONFIG_DMA_NONCOHERENT || CONFIG_DMA_MAYBE_COHERENT */
25