summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files
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
commit57a14f4e15e312a04938e8ad80d8799465f4fb17 (patch)
tree351ff7cf19253df7c650d665f84d8ffcf5681bb3 /target/linux/ar71xx/files
parent8d9c6a8f060c9c54825fa023f0a1d48e919427e3 (diff)
downloadmtk-20170518-57a14f4e15e312a04938e8ad80d8799465f4fb17.zip
mtk-20170518-57a14f4e15e312a04938e8ad80d8799465f4fb17.tar.gz
mtk-20170518-57a14f4e15e312a04938e8ad80d8799465f4fb17.tar.bz2
ar71xx: add missing gpio_set_debounce function
SVN-Revision: 25848
Diffstat (limited to 'target/linux/ar71xx/files')
-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 6354d68..2bc3d3f 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 */