diff options
author | Anti Sullin <anti.sullin@artecdesign.ee> | 2007-09-26 00:01:17 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2007-09-26 00:01:17 -0400 |
commit | e15b02138b89d7bc053817e6f7601e92e29d371c (patch) | |
tree | ba0d3c404022e91bf072558ee4f0ef9de73ffe36 /include/linux/gpio_keys.h | |
parent | 006df3024431a50262d4a2898d25924f84fb697a (diff) | |
download | op-kernel-dev-e15b02138b89d7bc053817e6f7601e92e29d371c.zip op-kernel-dev-e15b02138b89d7bc053817e6f7601e92e29d371c.tar.gz |
Input: gpio-keys - add suspend/resume support
This patch adds suspend/resume support and enables wakeup from
gpio_keys buttons.
Signed-off-by: Anti Sullin <anti.sullin@artecdesign.ee>
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 265d178..c6d3a9d 100644 --- a/include/linux/gpio_keys.h +++ b/include/linux/gpio_keys.h @@ -8,6 +8,7 @@ struct gpio_keys_button { int active_low; char *desc; int type; /* input event type (EV_KEY, EV_SW) */ + int wakeup; /* configure the button as a wake-up source */ }; struct gpio_keys_platform_data { |