summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2013-11-20 12:56:38 +0900
committerSimon Horman <horms+renesas@verge.net.au>2013-12-10 17:24:26 +0900
commite209456ee86a6fcaa589be14fe48311abf828376 (patch)
tree5d8750456afa87ad971847686450bae2471a2678 /arch/arm/mach-shmobile
parent6dc00ab90fa8bc4fec2f9c206ee679d144bc7eb5 (diff)
downloadop-kernel-dev-e209456ee86a6fcaa589be14fe48311abf828376.zip
op-kernel-dev-e209456ee86a6fcaa589be14fe48311abf828376.tar.gz
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 135929b..f0fe5d4 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"),
OpenPOWER on IntegriCloud