[ARM] Orion5x: replace KEY_WLAN with KEY_WPS_BUTTON
authorChristian Lamparter <chunkeey@googlemail.com>
Mon, 8 Mar 2010 23:26:35 +0000 (15:26 -0800)
committerNicolas Pitre <nico@fluxnic.net>
Tue, 23 Mar 2010 17:48:15 +0000 (13:48 -0400)
"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>
arch/arm/mach-orion5x/wrt350n-v2-setup.c

index cb0feca193d442781ffeb887915b601554a5a99b..f9f222ebb7ed0c5b12064cebddfe63c9399b3846 100644 (file)
@@ -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,