ARM: shmobile: koelsch: mark GPIO keys as wake-up sources
authorMagnus Damm <damm@opensource.se>
Wed, 20 Nov 2013 03:56:38 +0000 (12:56 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 10 Dec 2013 08:24:26 +0000 (17:24 +0900)
Enable wakeup for the GPIO keys on the Koelsch board.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-koelsch.c

index 135929b15650e3796fdbce17a0823210e171ced5..f0fe5d4ba34419213bbb505ebac4303b8d5b008f 100644 (file)
@@ -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"),
This page took 0.034595 seconds and 5 git commands to generate.