ar71xx: add missing gpio_set_debounce function
authorFelix Fietkau <nbd@openwrt.org>
Thu, 3 Mar 2011 10:33:35 +0000 (10:33 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 3 Mar 2011 10:33:35 +0000 (10:33 +0000)
SVN-Revision: 25848

target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/gpio.h

index 6354d68cf3ea0b0322831244b8318a2d939fc3ef..2bc3d3f043d169ffbda6ec7f2e7761bca8a691ee 100644 (file)
@@ -48,6 +48,11 @@ static inline void gpio_set_value(unsigned gpio, int value)
                __gpio_set_value(gpio, value);
 }
 
+static inline int gpio_set_debounce(unsigned gpio, unsigned debounce)
+{
+       return -ENOSYS;
+}
+
 #define gpio_cansleep  __gpio_cansleep
 
 #endif /* __ASM_MACH_AR71XX_GPIO_H */