]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/arm/mach-s3c2410/mach-n30.c
ARM: n35: Enable wake-up by Power button on Acer n35
[karo-tx-linux.git] / 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),