]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
[ARM] Kirkwood: WPS button keycode mapping
authorChristian Lamparter <chunkeey@googlemail.com>
Mon, 8 Mar 2010 23:25:29 +0000 (15:25 -0800)
committerNicolas Pitre <nico@fluxnic.net>
Tue, 23 Mar 2010 17:48:14 +0000 (13:48 -0400)
Commit "Input: add KEY_WPS_BUTTON definition"
added a generic keycode for WPS button.
Let's use it, instead of "F1" mapping.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
arch/arm/mach-kirkwood/mv88f6281gtw_ge-setup.c

index 0358f45766cbe565c7571483bb251fc490f9f81f..5e6f711b1c6753713b8819078ec0bc053566f200 100644 (file)
@@ -74,9 +74,9 @@ static struct gpio_keys_button mv88f6281gtw_ge_button_pins[] = {
                .desc           = "SWR Button",
                .active_low     = 1,
        }, {
-               .code           = KEY_F1,
+               .code           = KEY_WPS_BUTTON,
                .gpio           = 46,
-               .desc           = "WPS Button(F1)",
+               .desc           = "WPS Button",
                .active_low     = 1,
        },
 };