summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile
diff options
context:
space:
mode:
authorMagnus Damm2013-11-20 04:56:38 +0100
committerSimon Horman2013-12-10 09:24:26 +0100
commite209456ee86a6fcaa589be14fe48311abf828376 (patch)
tree5d8750456afa87ad971847686450bae2471a2678 /arch/arm/mach-shmobile
parentARM: shmobile: Use ->init_late() on Koelsch (diff)
downloadkernel-qcow2-linux-e209456ee86a6fcaa589be14fe48311abf828376.tar.gz
kernel-qcow2-linux-e209456ee86a6fcaa589be14fe48311abf828376.tar.xz
kernel-qcow2-linux-e209456ee86a6fcaa589be14fe48311abf828376.zip
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 <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r--arch/arm/mach-shmobile/board-koelsch.c2
1 files changed, 1 insertions, 1 deletions
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"),