aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-04-21 19:07:19 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-04-21 19:07:19 +0000
commit21d31612c3b2289ef93fdfc1a45da79e1c26658b (patch)
tree9ef092f468cf3db4509dfdd361b1411c56295bd1 /target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c
parent8254857db71ec9392e406c4fb09e318ca024375b (diff)
downloadupstream-21d31612c3b2289ef93fdfc1a45da79e1c26658b.tar.gz
upstream-21d31612c3b2289ef93fdfc1a45da79e1c26658b.tar.bz2
upstream-21d31612c3b2289ef93fdfc1a45da79e1c26658b.zip
ar71xx: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21075 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c
index 297f805d8b..fea08259ca 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c
@@ -111,14 +111,14 @@ static struct gpio_button nbg460n_gpio_buttons[] __initdata = {
{
.desc = "reset",
.type = EV_KEY,
- .code = BTN_0,
+ .code = KEY_RESTART,
.threshold = 5,
.gpio = NBG460N_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "wps",
.type = EV_KEY,
- .code = BTN_1,
+ .code = KEY_WPS_BUTTON,
.threshold = 5,
.gpio = NBG460N_GPIO_BTN_WPS,
.active_low = 1,