ar71xx: wp543: use KEY_RESET code for the sw4 button
authorGabor Juhos <juhosg@openwrt.org>
Thu, 23 Jan 2014 12:23:08 +0000 (12:23 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 23 Jan 2014 12:23:08 +0000 (12:23 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39374

target/linux/ar71xx/files/arch/mips/ath79/mach-wp543.c

index 148cd7c7f2d2ff704376c0b479ebc177cd3bdb32..0c890ea97d12e6ccd9fad3fdef3dcd7456a9a0a1 100644 (file)
@@ -65,7 +65,7 @@ static struct gpio_keys_button wp543_gpio_keys[] __initdata = {
        }, {
                .desc           = "sw4",
                .type           = EV_KEY,
-               .code           = BTN_1,
+               .code           = KEY_RESTART,
                .debounce_interval = WP543_KEYS_DEBOUNCE_INTERVAL,
                .gpio           = WP543_GPIO_SW4,
        }