1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-26 13:33:21 +02:00
openwrt-xburst/target/linux/brcm47xx/patches-3.0/040-bcm47xx-add-gpio_set_debounce.patch
hauke 6c4398bc6a 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
2011-06-28 22:21:57 +00:00

14 lines
334 B
Diff

--- a/arch/mips/include/asm/mach-bcm47xx/gpio.h
+++ b/arch/mips/include/asm/mach-bcm47xx/gpio.h
@@ -136,6 +136,10 @@ static inline int gpio_polarity(unsigned
return -EINVAL;
}
+static inline int gpio_set_debounce(unsigned gpio, unsigned debounce)
+{
+ return -ENOSYS;
+}
/* cansleep wrappers */
#include <asm-generic/gpio.h>