diff mbox

Orion5x: replace KEY_WLAN with KEY_WPS_BUTTON

Message ID 201003090026.35696.chunkeey@googlemail.com (mailing list archive)
State Accepted
Commit bb456928913fda2b360376afb13d9a0bc72c761c
Headers show

Commit Message

Christian Lamparter March 8, 2010, 11:26 p.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/mach-orion5x/wrt350n-v2-setup.c b/arch/arm/mach-orion5x/wrt350n-v2-setup.c
index cb0feca..f9f222e 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,