From 21d31612c3b2289ef93fdfc1a45da79e1c26658b Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Wed, 21 Apr 2010 19:07:19 +0000 Subject: 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 --- target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c') 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, -- cgit v1.2.3