From: Christian Lamparter Date: Mon, 8 Mar 2010 23:26:35 +0000 (-0800) Subject: [ARM] Orion5x: replace KEY_WLAN with KEY_WPS_BUTTON X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bb456928913fda2b360376afb13d9a0bc72c761c;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [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 Signed-off-by: Nicolas Pitre --- diff --git a/arch/arm/mach-orion5x/wrt350n-v2-setup.c b/arch/arm/mach-orion5x/wrt350n-v2-setup.c index cb0feca193d..f9f222ebb7e 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,