aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-03 10:33:35 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-03 10:33:35 +0000
commit5f776e950706178514677d50ae2431a73e8beffd (patch)
treefe771bfa1b2be1325251f93a1eb61578862f788f /target/linux
parent51ae2b31e57c21376aeafa6e8666cafeec46ae54 (diff)
downloadupstream-5f776e950706178514677d50ae2431a73e8beffd.tar.gz
upstream-5f776e950706178514677d50ae2431a73e8beffd.tar.bz2
upstream-5f776e950706178514677d50ae2431a73e8beffd.zip
ar71xx: add missing gpio_set_debounce function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25848 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/gpio.h5
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 */