+static struct gpio_button whr_g300n_gpio_buttons[] __initdata = {
+ {
+ .desc = "reset",
+ .type = EV_KEY,
+ .code = KEY_RESTART,
+ .threshold = 3,
+ .gpio = WHR_G300N_GPIO_BUTTON_RESET,
+ .active_low = 1,
+ }, {
+ .desc = "aoss",
+ .type = EV_KEY,
+ .code = KEY_WPS_BUTTON,
+ .threshold = 3,
+ .gpio = WHR_G300N_GPIO_BUTTON_AOSS,
+ .active_low = 1,
+ }, {
+ .desc = "router-off",
+ .type = EV_KEY,
+ .code = BTN_2,
+ .threshold = 3,
+ .gpio = WHR_G300N_GPIO_BUTTON_ROUTER_OFF,
+ .active_low = 1,
+ }, {
+ .desc = "router-on",
+ .type = EV_KEY,
+ .code = BTN_3,
+ .threshold = 3,
+ .gpio = WHR_G300N_GPIO_BUTTON_ROUTER_ON,
+ .active_low = 1,
+ }
+};
+