From 698edbbc322a021c5a2231919cef4532187d3638 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 23 Dec 2015 14:45:05 +0000 Subject: ar71xx: refresh patches Signed-off-by: Roman Yeryomin SVN-Revision: 47983 --- .../patches-4.1/820-MIPS-ath79-add_gpio_function2_setup.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'target/linux/ar71xx/patches-4.1/820-MIPS-ath79-add_gpio_function2_setup.patch') diff --git a/target/linux/ar71xx/patches-4.1/820-MIPS-ath79-add_gpio_function2_setup.patch b/target/linux/ar71xx/patches-4.1/820-MIPS-ath79-add_gpio_function2_setup.patch index a564e6c..5c90057 100644 --- a/target/linux/ar71xx/patches-4.1/820-MIPS-ath79-add_gpio_function2_setup.patch +++ b/target/linux/ar71xx/patches-4.1/820-MIPS-ath79-add_gpio_function2_setup.patch @@ -14,7 +14,7 @@ functions on the Arduino Yun. void ath79_gpio_init(void); --- a/arch/mips/ath79/gpio.c +++ b/arch/mips/ath79/gpio.c -@@ -193,6 +193,36 @@ static void __iomem *ath79_gpio_get_func +@@ -195,6 +195,36 @@ static void __iomem *ath79_gpio_get_func return ath79_gpio_base + reg; } @@ -53,7 +53,7 @@ functions on the Arduino Yun. void __iomem *reg = ath79_gpio_get_function_reg(); --- a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h +++ b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h -@@ -840,6 +840,7 @@ +@@ -847,6 +847,7 @@ #define AR71XX_GPIO_REG_INT_PENDING 0x20 #define AR71XX_GPIO_REG_INT_ENABLE 0x24 #define AR71XX_GPIO_REG_FUNC 0x28 @@ -61,7 +61,7 @@ functions on the Arduino Yun. #define AR934X_GPIO_REG_OUT_FUNC0 0x2c #define AR934X_GPIO_REG_OUT_FUNC1 0x30 -@@ -964,6 +965,8 @@ +@@ -971,6 +972,8 @@ #define AR724X_GPIO_FUNC_UART_EN BIT(1) #define AR724X_GPIO_FUNC_JTAG_DISABLE BIT(0) -- cgit v1.1