ARM: n35: Enable wake-up by Power button on Acer n35
authorPinkava J <Jiri.Pinkava@vscht.cz>
Thu, 6 May 2010 13:21:50 +0000 (15:21 +0200)
committerBen Dooks <ben-linux@fluff.org>
Fri, 7 May 2010 00:41:32 +0000 (09:41 +0900)
Signed-off-by: Jiri Pinkava <jiri.pinkava@vscht.cz>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s3c2410/mach-n30.c

index b83eabdf709be3ff88d1b95abf90a3ffcff53b74..d63b48f8dceef2833b5b62daf502fd7ffe37e6f4 100644 (file)
@@ -172,8 +172,10 @@ static struct gpio_keys_button n35_buttons[] = {
        {
                .gpio           = S3C2410_GPF(0),
                .code           = KEY_POWER,
+               .type           = EV_PWR,
                .desc           = "Power",
                .active_low     = 0,
+               .wakeup         = 1,
        },
        {
                .gpio           = S3C2410_GPG(9),