From 57a14f4e15e312a04938e8ad80d8799465f4fb17 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 3 Mar 2011 10:33:35 +0000 Subject: [PATCH] ar71xx: add missing gpio_set_debounce function SVN-Revision: 25848 --- .../ar71xx/files/arch/mips/include/asm/mach-ar71xx/gpio.h | 5 +++++ 1 file changed, 5 insertions(+) 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 */ -- 2.30.2