diff options
Diffstat (limited to 'target/linux/ar71xx/patches-4.1/820-MIPS-ath79-add_gpio_function2_setup.patch')
-rw-r--r-- | target/linux/ar71xx/patches-4.1/820-MIPS-ath79-add_gpio_function2_setup.patch | 6 |
1 files changed, 3 insertions, 3 deletions
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 a564e6c6c4..5c9005785f 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) |