Openwrt/target/linux/brcm47xx/patches-3.3/140-bcm47xx-add-gpio_set_debounce.patch
Hauke Mehrtens 22b2e3fbb9 brcm47xx: add support for kernel 3.3
SVN-Revision: 31573
2012-05-03 20:18:41 +00:00

13 lines
308 B
Diff

--- a/arch/mips/include/asm/mach-bcm47xx/gpio.h
+++ b/arch/mips/include/asm/mach-bcm47xx/gpio.h
@@ -151,5 +151,9 @@ static inline int gpio_polarity(unsigned
return -EINVAL;
}
+static inline int gpio_set_debounce(unsigned gpio, unsigned debounce)
+{
+ return -ENOSYS;
+}
#endif /* __BCM47XX_GPIO_H */