From: Magnus Damm Date: Wed, 20 Nov 2013 03:56:38 +0000 (+0900) Subject: ARM: shmobile: koelsch: mark GPIO keys as wake-up sources X-Git-Tag: firefly_0821_release~176^2~4587^2~5^2~10 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e209456ee86a6fcaa589be14fe48311abf828376;p=firefly-linux-kernel-4.4.55.git ARM: shmobile: koelsch: mark GPIO keys as wake-up sources Enable wakeup for the GPIO keys on the Koelsch board. Signed-off-by: Magnus Damm Signed-off-by: Simon Horman --- diff --git a/arch/arm/mach-shmobile/board-koelsch.c b/arch/arm/mach-shmobile/board-koelsch.c index 135929b15650..f0fe5d4ba344 100644 --- a/arch/arm/mach-shmobile/board-koelsch.c +++ b/arch/arm/mach-shmobile/board-koelsch.c @@ -57,7 +57,7 @@ static const struct gpio_led_platform_data koelsch_leds_pdata __initconst = { /* GPIO KEY */ #define GPIO_KEY(c, g, d, ...) \ { .code = c, .gpio = g, .desc = d, .active_low = 1, \ - .debounce_interval = 20 } + .wakeup = 1, .debounce_interval = 20 } static struct gpio_keys_button gpio_buttons[] = { GPIO_KEY(KEY_4, RCAR_GP_PIN(5, 3), "SW2-pin4"),