diff options
author | Dominic Curran <dcurran@ti.com> | 2008-10-28 03:30:53 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-10-28 03:33:04 +0100 |
commit | b67b4b117746aef686e527c3205792db0f2c9e16 (patch) | |
tree | 07598e37a3c6cf63d20c76fcb74d232e1f7043aa /include | |
parent | Input: xilinx_ps2 - various cleanups (diff) | |
download | linux-b67b4b117746aef686e527c3205792db0f2c9e16.tar.xz linux-b67b4b117746aef686e527c3205792db0f2c9e16.zip |
Input: gpio-keys - add flag to allow auto repeat
This patch adds a flag to gpio-key driver to turn on the input subsystems
auto repeat feature if needed.
Signed-off-by: Dominic Curran <dcurran@ti.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include')
-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 ec6ecd74781d..1289fa7623ca 100644 --- a/include/linux/gpio_keys.h +++ b/include/linux/gpio_keys.h @@ -15,6 +15,7 @@ struct gpio_keys_button { struct gpio_keys_platform_data { struct gpio_keys_button *buttons; int nbuttons; + unsigned int rep:1; /* enable input subsystem auto repeat */ }; #endif |