From: Felix Fietkau Date: Thu, 3 Mar 2011 10:33:35 +0000 (+0000) Subject: ar71xx: add missing gpio_set_debounce function X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=57a14f4e15e312a04938e8ad80d8799465f4fb17;p=openwrt%2Fstaging%2F981213.git ar71xx: add missing gpio_set_debounce function SVN-Revision: 25848 --- diff --git a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/gpio.h b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/gpio.h index 6354d68cf3..2bc3d3f043 100644 --- a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/gpio.h +++ b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/gpio.h @@ -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 */