summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-orion5x/wrt350n-v2-setup.c
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@googlemail.com>2010-03-09 00:26:35 +0100
committerNicolas Pitre <nico@fluxnic.net>2010-03-23 18:48:15 +0100
commitbb456928913fda2b360376afb13d9a0bc72c761c (patch)
tree145254443578d74b098c9513a2eb3695af30325f /arch/arm/mach-orion5x/wrt350n-v2-setup.c
parent[ARM] Kirkwood: WPS button keycode mapping (diff)
downloadlinux-bb456928913fda2b360376afb13d9a0bc72c761c.tar.xz
linux-bb456928913fda2b360376afb13d9a0bc72c761c.zip
[ARM] Orion5x: replace KEY_WLAN with KEY_WPS_BUTTON
"Input: add KEY_WPS_BUTTON definition" introduced a generic keycode for WPS input events. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'arch/arm/mach-orion5x/wrt350n-v2-setup.c')
-rw-r--r--arch/arm/mach-orion5x/wrt350n-v2-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-orion5x/wrt350n-v2-setup.c b/arch/arm/mach-orion5x/wrt350n-v2-setup.c
index cb0feca193d4..f9f222ebb7ed 100644
--- a/arch/arm/mach-orion5x/wrt350n-v2-setup.c
+++ b/arch/arm/mach-orion5x/wrt350n-v2-setup.c
@@ -77,7 +77,7 @@ static struct gpio_keys_button wrt350n_v2_buttons[] = {
.desc = "Reset Button",
.active_low = 1,
}, {
- .code = KEY_WLAN,
+ .code = KEY_WPS_BUTTON,
.gpio = 2,
.desc = "WPS Button",
.active_low = 1,