summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/patches-3.0/040-bcm47xx-add-gpio_set_debounce.patch
blob: 2bc7718c3482892965eb4f4a44f7555d3e5eb060 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- 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>