1 --- a/arch/mips/ath79/gpio.c
2 +++ b/arch/mips/ath79/gpio.c
4 #include <asm/mach-ath79/ath79.h>
7 -static void __iomem *ath79_gpio_base;
8 +void __iomem *ath79_gpio_base;
9 +EXPORT_SYMBOL_GPL(ath79_gpio_base);
11 static unsigned long ath79_gpio_count;
12 static DEFINE_SPINLOCK(ath79_gpio_lock);
14 --- a/arch/mips/include/asm/mach-ath79/ath79.h
15 +++ b/arch/mips/include/asm/mach-ath79/ath79.h
16 @@ -99,6 +99,7 @@ static inline int soc_is_ar934x(void)
19 extern void __iomem *ath79_ddr_base;
20 +extern void __iomem *ath79_gpio_base;
21 extern void __iomem *ath79_pll_base;
22 extern void __iomem *ath79_reset_base;