blob: 7600a70c846f6252728aa9bca58d2d4715401aee [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001--- 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@@ -62,6 +62,9 @@ void (*_dma_cache_wback_inv)(unsigned lo
19 void (*_dma_cache_wback)(unsigned long start, unsigned long size);
20 void (*_dma_cache_inv)(unsigned long start, unsigned long size);
21
22+EXPORT_SYMBOL(_dma_cache_wback_inv);
23+EXPORT_SYMBOL(_dma_cache_inv);
24+
25 #endif /* CONFIG_DMA_NONCOHERENT */
26
27 /*