mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
006df30244
commit
e15b02138b
2 changed files with 53 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue