999-wl_exports.patch 711 B

12345678910111213141516171819202122
  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. -static char nvram_buf[NVRAM_SPACE];
  7. +char nvram_buf[NVRAM_SPACE];
  8. +EXPORT_SYMBOL(nvram_buf);
  9. static size_t nvram_len;
  10. static const u32 nvram_sizes[] = {0x8000, 0xF000, 0x10000};
  11. static int cfe_env;
  12. --- a/arch/mips/mm/cache.c
  13. +++ b/arch/mips/mm/cache.c
  14. @@ -60,6 +60,7 @@ void (*_dma_cache_wback)(unsigned long s
  15. void (*_dma_cache_inv)(unsigned long start, unsigned long size);
  16. EXPORT_SYMBOL(_dma_cache_wback_inv);
  17. +EXPORT_SYMBOL(_dma_cache_inv);
  18. #endif /* CONFIG_DMA_NONCOHERENT || CONFIG_DMA_MAYBE_COHERENT */