2014-02-24 23:54:12 +08:00
|
|
|
--- a/arch/mips/bcm63xx/nvram.c
|
|
|
|
+++ b/arch/mips/bcm63xx/nvram.c
|
2014-07-28 23:31:37 +08:00
|
|
|
@@ -40,6 +40,12 @@ struct bcm963xx_nvram {
|
2014-02-24 23:54:12 +08:00
|
|
|
static struct bcm963xx_nvram nvram;
|
|
|
|
static int mac_addr_used;
|
|
|
|
|
|
|
|
+/*
|
|
|
|
+ * Required export for WL
|
|
|
|
+ */
|
2014-07-28 23:31:37 +08:00
|
|
|
+u32 nvram_buf[5] = { 0, cpu_to_le32(20), 0, 0, 0 };
|
2014-02-24 23:54:12 +08:00
|
|
|
+EXPORT_SYMBOL(nvram_buf);
|
|
|
|
+
|
|
|
|
void __init bcm63xx_nvram_init(void *addr)
|
|
|
|
{
|
|
|
|
unsigned int check_len;
|
|
|
|
--- a/arch/mips/mm/cache.c
|
|
|
|
+++ b/arch/mips/mm/cache.c
|
2014-04-04 18:17:08 +08:00
|
|
|
@@ -58,6 +58,7 @@ void (*_dma_cache_wback)(unsigned long s
|
2014-02-24 23:54:12 +08:00
|
|
|
void (*_dma_cache_inv)(unsigned long start, unsigned long size);
|
|
|
|
|
|
|
|
EXPORT_SYMBOL(_dma_cache_wback_inv);
|
|
|
|
+EXPORT_SYMBOL(_dma_cache_inv);
|
|
|
|
|
|
|
|
#endif /* CONFIG_DMA_NONCOHERENT */
|
|
|
|
|