800-wl_exports.patch 685 B

12345678910111213141516171819202122232425
  1. --- a/arch/mips/bcm63xx/nvram.c
  2. +++ b/arch/mips/bcm63xx/nvram.c
  3. @@ -40,6 +40,12 @@ struct bcm963xx_nvram {
  4. static struct bcm963xx_nvram nvram;
  5. static int mac_addr_used;
  6. +/*
  7. + * Required export for WL
  8. + */
  9. +u32 nvram_buf[5] = { 0, cpu_to_le32(20), 0, 0, 0 };
  10. +EXPORT_SYMBOL(nvram_buf);
  11. +
  12. void __init bcm63xx_nvram_init(void *addr)
  13. {
  14. unsigned int check_len;
  15. --- a/arch/mips/mm/cache.c
  16. +++ b/arch/mips/mm/cache.c
  17. @@ -60,6 +60,7 @@ void (*_dma_cache_wback)(unsigned long s
  18. void (*_dma_cache_inv)(unsigned long start, unsigned long size);
  19. EXPORT_SYMBOL(_dma_cache_wback_inv);
  20. +EXPORT_SYMBOL(_dma_cache_inv);
  21. #endif /* CONFIG_DMA_NONCOHERENT || CONFIG_DMA_MAYBE_COHERENT */