diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-03-03 10:33:35 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-03-03 10:33:35 +0000 |
commit | 097b43c34c6d4d5c07e382cf095d2f3ca1542d0c (patch) | |
tree | fe771bfa1b2be1325251f93a1eb61578862f788f | |
parent | d99e3e6eb89d914b8d8db5d9fea5ff8961f1486d (diff) |
ar71xx: add missing gpio_set_debounce function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25848 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/gpio.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 */ |