diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2008-05-07 16:30:15 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-05-16 16:54:14 -0400 |
commit | a33466e31213cd7c46696160d3db78680b58f6a3 (patch) | |
tree | d485d5ae936d1f28b0d0a403da4d9c6095de0371 /include/linux/gpio_keys.h | |
parent | 885c316d776b64728b4ed30e3af60d23c9e46825 (diff) | |
download | linux-a33466e31213cd7c46696160d3db78680b58f6a3.tar.gz linux-a33466e31213cd7c46696160d3db78680b58f6a3.tar.bz2 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/gpio_keys.h')
-rw-r--r-- | include/linux/gpio_keys.h | 1 |
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 { |