From 141fe25708a418e4d123c8c086a4c3fe88d9d95b Mon Sep 17 00:00:00 2001 From: Shantanu Jain Date: Thu, 5 Jun 2014 14:23:04 +0530 Subject: 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 Change-Id: I7fe266661abfd469c68309a66aed0cb0fa2de33e --- include/linux/gpio_keys.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/linux') 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 -- cgit v1.2.3