summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorDmitry Baryshkov <dbaryshkov@gmail.com>2008-05-07 16:30:15 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2008-05-16 16:54:14 -0400
commita33466e31213cd7c46696160d3db78680b58f6a3 (patch)
treed485d5ae936d1f28b0d0a403da4d9c6095de0371 /include/linux
parent885c316d776b64728b4ed30e3af60d23c9e46825 (diff)
downloadblackbird-op-linux-a33466e31213cd7c46696160d3db78680b58f6a3.tar.gz
blackbird-op-linux-a33466e31213cd7c46696160d3db78680b58f6a3.zip
Input: gpio-keys debouncing support
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/gpio_keys.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/gpio_keys.h b/include/linux/gpio_keys.h
index c6d3a9de5634..ec6ecd74781d 100644
--- a/include/linux/gpio_keys.h
+++ b/include/linux/gpio_keys.h
@@ -9,6 +9,7 @@ struct gpio_keys_button {
char *desc;
int type; /* input event type (EV_KEY, EV_SW) */
int wakeup; /* configure the button as a wake-up source */
+ int debounce_interval; /* debounce ticks interval in msecs */
};
struct gpio_keys_platform_data {
OpenPOWER on IntegriCloud