aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-3.0/040-bcm47xx-add-gpio_set_debounce.patch
blob: 32593908d41e46459e7a7fa9fa845fdf2ed53fae (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
@@ -58,6 +58,10 @@ static inline int gpio_polarity(unsigned
 	return 0;
 }
 
+static inline int gpio_set_debounce(unsigned gpio, unsigned debounce)
+{
+	return -ENOSYS;
+}
 
 /* cansleep wrappers */
 #include <asm-generic/gpio.h>