32593908d41e46459e7a7fa9fa845fdf2ed53fae
[openwrt/staging/mkresin.git] / target / linux / brcm47xx / patches-3.0 / 040-bcm47xx-add-gpio_set_debounce.patch
1 --- a/arch/mips/include/asm/mach-bcm47xx/gpio.h
2 +++ b/arch/mips/include/asm/mach-bcm47xx/gpio.h
3 @@ -58,6 +58,10 @@ static inline int gpio_polarity(unsigned
4 return 0;
5 }
6
7 +static inline int gpio_set_debounce(unsigned gpio, unsigned debounce)
8 +{
9 + return -ENOSYS;
10 +}
11
12 /* cansleep wrappers */
13 #include <asm-generic/gpio.h>