summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKevin Hilman <khilman@mvista.com>2007-05-05 20:40:29 +0200
committerTony Lindgren <tony@atomide.com>2008-02-08 19:37:59 +0100
commit5eb3bb9c0d123ad84ed5127fbc62731896d87181 (patch)
treeaf1209a8572410d06bc56c97d30dad6687af95f6 /include
parentARM: OMAP: Get rid of unnecessary ifdefs in GPIO code (diff)
downloadlinux-5eb3bb9c0d123ad84ed5127fbc62731896d87181.tar.xz
linux-5eb3bb9c0d123ad84ed5127fbc62731896d87181.zip
ARM: OMAP: Add 24xx GPIO debounce support
Add 24xx GPIO debounce support. Also minor formatting clean-up. Signed-off-by: Kevin Hilman <khilman@mvista.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/arch-omap/gpio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-arm/arch-omap/gpio.h b/include/asm-arm/arch-omap/gpio.h
index c782ef9a2ace..164da09be095 100644
--- a/include/asm-arm/arch-omap/gpio.h
+++ b/include/asm-arm/arch-omap/gpio.h
@@ -77,6 +77,8 @@ extern void omap_free_gpio(int gpio);
extern void omap_set_gpio_direction(int gpio, int is_input);
extern void omap_set_gpio_dataout(int gpio, int enable);
extern int omap_get_gpio_datain(int gpio);
+extern void omap_set_gpio_debounce(int gpio, int enable);
+extern void omap_set_gpio_debounce_time(int gpio, int enable);
/*-------------------------------------------------------------------------*/