summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorShantanu Jain <shjain@codeaurora.org>2014-06-05 14:23:04 +0530
committerShantanu Jain <shjain@codeaurora.org>2017-03-22 14:39:37 +0530
commit141fe25708a418e4d123c8c086a4c3fe88d9d95b (patch)
tree383b9189090686c5a1d2a5451b30aeb4f67be3d5 /include/linux
parentc1ef16be6d3c5606edb7a23398611d010b405aa8 (diff)
input: keyboard: add syscore_ops support to gpio_key driver
Add syscore_ops support for gpio-keys driver to service wakeable irq handler before the CPUs resume after suspend state. Signed-off-by: Shantanu Jain <shjain@codeaurora.org> Change-Id: I7fe266661abfd469c68309a66aed0cb0fa2de33e
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/gpio_keys.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/gpio_keys.h b/include/linux/gpio_keys.h
index 9364ba71873e..6eb18a6d4e72 100644
--- a/include/linux/gpio_keys.h
+++ b/include/linux/gpio_keys.h
@@ -54,7 +54,8 @@ struct gpio_keys_platform_data {
unsigned int rep:1;
int (*enable)(struct device *dev);
void (*disable)(struct device *dev);
- const char *name;
+ const char *name; /* input device name */
+ bool use_syscore;
};
#endif