mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ramips: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21083 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -84,14 +84,14 @@ static struct gpio_button rt_n15_gpio_buttons[] __initdata = {
|
||||
{
|
||||
.desc = "reset",
|
||||
.type = EV_KEY,
|
||||
.code = BTN_0,
|
||||
.code = KEY_RESTART,
|
||||
.threshold = 3,
|
||||
.gpio = RT_N15_GPIO_BUTTON_RESET,
|
||||
.active_low = 1,
|
||||
}, {
|
||||
.desc = "wps",
|
||||
.type = EV_KEY,
|
||||
.code = BTN_1,
|
||||
.code = KEY_WPS_BUTTON,
|
||||
.threshold = 3,
|
||||
.gpio = RT_N15_GPIO_BUTTON_WPS,
|
||||
.active_low = 1,
|
||||
|
||||
Reference in New Issue
Block a user