1 --- a/arch/mips/bcm47xx/nvram.c
2 +++ b/arch/mips/bcm47xx/nvram.c
4 #include <asm/mach-bcm47xx/bus.h>
5 #include <linux/mtd/bcm47xx_nand.h>
7 -static char nvram_buf[NVRAM_SPACE];
8 +char nvram_buf[NVRAM_SPACE];
9 +EXPORT_SYMBOL(nvram_buf);
11 extern char *cfe_env_get(char *nv_buf, const char *name);
13 --- a/arch/mips/mm/cache.c
14 +++ b/arch/mips/mm/cache.c
15 @@ -57,6 +57,7 @@ void (*_dma_cache_wback)(unsigned long s
16 void (*_dma_cache_inv)(unsigned long start, unsigned long size);
18 EXPORT_SYMBOL(_dma_cache_wback_inv);
19 +EXPORT_SYMBOL(_dma_cache_inv);
21 #endif /* CONFIG_DMA_NONCOHERENT */