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>
This commit is contained in:
Anti Sullin 2007-09-26 00:01:17 -04:00 committed by Dmitry Torokhov
parent 006df30244
commit e15b02138b
2 changed files with 53 additions and 0 deletions

View file

@ -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 {