brcm47xx: add initial support for devices with bcma bus.
[openwrt/svn-archive/archive.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 @@ -136,6 +136,10 @@ static inline int gpio_polarity(unsigned
4 return -EINVAL;
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>