summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/patches-3.8/505-MIPS-ath79-add-ath79_gpio_function_select.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-03-04 11:48:04 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-03-04 11:48:04 +0000
commit4c31b9f43ecc10bf78278f6db6a32bbc0aa77432 (patch)
treeacde0f6479fd92a6e30d59fc9c7b3928c78ec0bb /target/linux/ar71xx/patches-3.8/505-MIPS-ath79-add-ath79_gpio_function_select.patch
parent120028af9931105face41a494ca7166d7a2285d3 (diff)
downloadmtk-20170518-4c31b9f43ecc10bf78278f6db6a32bbc0aa77432.zip
mtk-20170518-4c31b9f43ecc10bf78278f6db6a32bbc0aa77432.tar.gz
mtk-20170518-4c31b9f43ecc10bf78278f6db6a32bbc0aa77432.tar.bz2
ar71xx: use backported GPIO patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35875
Diffstat (limited to 'target/linux/ar71xx/patches-3.8/505-MIPS-ath79-add-ath79_gpio_function_select.patch')
-rw-r--r--target/linux/ar71xx/patches-3.8/505-MIPS-ath79-add-ath79_gpio_function_select.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/patches-3.8/505-MIPS-ath79-add-ath79_gpio_function_select.patch b/target/linux/ar71xx/patches-3.8/505-MIPS-ath79-add-ath79_gpio_function_select.patch
index 86e136f..9e11381 100644
--- a/target/linux/ar71xx/patches-3.8/505-MIPS-ath79-add-ath79_gpio_function_select.patch
+++ b/target/linux/ar71xx/patches-3.8/505-MIPS-ath79-add-ath79_gpio_function_select.patch
@@ -10,8 +10,8 @@
#endif /* __ATH79_COMMON_H */
--- a/arch/mips/ath79/gpio.c
+++ b/arch/mips/ath79/gpio.c
-@@ -198,6 +198,34 @@ void ath79_gpio_function_setup(u32 set,
- spin_unlock_irqrestore(&ath79_gpio_lock, flags);
+@@ -180,6 +180,34 @@ void ath79_gpio_function_disable(u32 mas
+ ath79_gpio_function_setup(0, mask);
}
+void __init ath79_gpio_output_select(unsigned gpio, u8 val)