ar71xx: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
[openwrt.git] / target / linux / ar71xx / files / arch / mips / ar71xx / mach-tl-wr741nd.c
index 510dcf4..9333222 100644 (file)
@@ -80,14 +80,14 @@ static struct gpio_button tl_wr741nd_gpio_buttons[] __initdata = {
        {
                .desc           = "reset",
                .type           = EV_KEY,
-               .code           = BTN_0,
+               .code           = KEY_RESTART,
                .threshold      = 3,
                .gpio           = TL_WR741ND_GPIO_BTN_RESET,
                .active_low     = 1,
        }, {
                .desc           = "qss",
                .type           = EV_KEY,
-               .code           = BTN_1,
+               .code           = KEY_WPS_BUTTON,
                .threshold      = 3,
                .gpio           = TL_WR741ND_GPIO_BTN_QSS,
                .active_low     = 1,
This page took 0.036458 seconds and 4 git commands to generate.