1
0
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:
juhosg
2010-04-22 09:25:37 +00:00
parent 892d978a39
commit 3e39b51297
5 changed files with 9 additions and 9 deletions

View File

@@ -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,