aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-3.0/040-bcm47xx-add-gpio_set_debounce.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2011-06-28 22:21:57 +0000
committerHauke Mehrtens <hauke@openwrt.org>2011-06-28 22:21:57 +0000
commitbf2c750b45a57fe120571950f24a5ab9e86a06c3 (patch)
treed7387ce02884e192e6b4e330ce901b1a519f7f70 /target/linux/brcm47xx/patches-3.0/040-bcm47xx-add-gpio_set_debounce.patch
parentb1e50c66ea303254371776bda2c325331796e5bb (diff)
downloadupstream-bf2c750b45a57fe120571950f24a5ab9e86a06c3.tar.gz
upstream-bf2c750b45a57fe120571950f24a5ab9e86a06c3.tar.bz2
upstream-bf2c750b45a57fe120571950f24a5ab9e86a06c3.zip
brcm47xx: add initial support for devices with bcma bus.
Ethernet and wifi are not working and this is highly experimental. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27301 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-3.0/040-bcm47xx-add-gpio_set_debounce.patch')
-rw-r--r--target/linux/brcm47xx/patches-3.0/040-bcm47xx-add-gpio_set_debounce.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm47xx/patches-3.0/040-bcm47xx-add-gpio_set_debounce.patch b/target/linux/brcm47xx/patches-3.0/040-bcm47xx-add-gpio_set_debounce.patch
index 32593908d4..2bc7718c34 100644
--- a/target/linux/brcm47xx/patches-3.0/040-bcm47xx-add-gpio_set_debounce.patch
+++ b/target/linux/brcm47xx/patches-3.0/040-bcm47xx-add-gpio_set_debounce.patch
@@ -1,7 +1,7 @@
--- a/arch/mips/include/asm/mach-bcm47xx/gpio.h
+++ b/arch/mips/include/asm/mach-bcm47xx/gpio.h
-@@ -58,6 +58,10 @@ static inline int gpio_polarity(unsigned
- return 0;
+@@ -136,6 +136,10 @@ static inline int gpio_polarity(unsigned
+ return -EINVAL;
}
+static inline int gpio_set_debounce(unsigned gpio, unsigned debounce)