From 097b43c34c6d4d5c07e382cf095d2f3ca1542d0c Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 3 Mar 2011 10:33:35 +0000 Subject: ar71xx: add missing gpio_set_debounce function git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25848 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/gpio.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'target/linux/ar71xx/files/arch/mips') 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 */ -- cgit v1.2.3