aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorVasily Khoruzhick <anarsoul@gmail.com>2011-03-13 11:19:22 -0400
committerMarek Vasut <marek.vasut@gmail.com>2011-03-16 09:56:03 -0400
commite3b1ceedf7adc4adfc989ee78a30fca7b62480b5 (patch)
tree625c2693681b61081ef433ca85c8ee2cd15ea3fe /arch/arm
parent54d5710058ebe34451f4ab1d73d86cd8214897b7 (diff)
ARM: PXA: Z2: Use switch event for lid
Otherwise userspace might be confused. Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Acked-by: Marek Vasut <marek.vasut@gmail.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-pxa/z2.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-pxa/z2.c b/arch/arm/mach-pxa/z2.c
index 3ab73f3079a0..d9322ddad8d8 100644
--- a/arch/arm/mach-pxa/z2.c
+++ b/arch/arm/mach-pxa/z2.c
@@ -436,12 +436,12 @@ static struct gpio_keys_button z2_pxa_buttons[] = {
436 .type = EV_KEY, 436 .type = EV_KEY,
437 }, 437 },
438 { 438 {
439 .code = KEY_CLOSE, 439 .code = SW_LID,
440 .gpio = GPIO98_ZIPITZ2_LID_BUTTON, 440 .gpio = GPIO98_ZIPITZ2_LID_BUTTON,
441 .active_low = 0, 441 .active_low = 1,
442 .desc = "Lid Button", 442 .desc = "Lid Switch",
443 .wakeup = 0 443 .wakeup = 0,
444 .type = EV_KEY, 444 .type = EV_SW,
445 }, 445 },
446}; 446};
447 447