Commit 9705c396 authored by Christian Lamparter's avatar Christian Lamparter Committed by Nicolas Pitre

[ARM] Kirkwood: WPS button keycode mapping

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: default avatarChristian Lamparter <chunkeey@googlemail.com>
Signed-off-by: default avatarNicolas Pitre <nico@marvell.com>
parent 4f4669ee
...@@ -74,9 +74,9 @@ static struct gpio_keys_button mv88f6281gtw_ge_button_pins[] = { ...@@ -74,9 +74,9 @@ static struct gpio_keys_button mv88f6281gtw_ge_button_pins[] = {
.desc = "SWR Button", .desc = "SWR Button",
.active_low = 1, .active_low = 1,
}, { }, {
.code = KEY_F1, .code = KEY_WPS_BUTTON,
.gpio = 46, .gpio = 46,
.desc = "WPS Button(F1)", .desc = "WPS Button",
.active_low = 1, .active_low = 1,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment