[scripts] env: colorize git output
[openwrt.git] / target / linux / ar71xx / patches-3.3 / 502-MIPS-ath79-export-ath79_gpio_base.patch
1 --- a/arch/mips/ath79/gpio.c
2 +++ b/arch/mips/ath79/gpio.c
3 @@ -25,7 +25,9 @@
4 #include <asm/mach-ath79/ath79.h>
5 #include "common.h"
6
7 -static void __iomem *ath79_gpio_base;
8 +void __iomem *ath79_gpio_base;
9 +EXPORT_SYMBOL_GPL(ath79_gpio_base);
10 +
11 static unsigned long ath79_gpio_count;
12 static DEFINE_SPINLOCK(ath79_gpio_lock);
13
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)
17 }
18
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;
23
This page took 0.044505 seconds and 5 git commands to generate.