[PATCH 1/2] wistron_btns: add led support

2007-04-18 Thread Éric Piel
This fix a typo on the TM610 definition, inserted in my recent patch 
"add-acerhk-database".


Eric

From: Eric Piel <[EMAIL PROTECTED]>

wriston_btns: Fix typo for TM610
I did a typo in a previous patch for wistron_btns "add acerhk database". This
patch fixes this typo that prevented PROG2 key to work.

Signed-off-by: Eric Piel <[EMAIL PROTECTED]>

--- linux-2.6.21/drivers/input/misc/wistron_btns.c.bak	2007-04-07 15:09:30.0 +0200
+++ linux-2.6.21/drivers/input/misc/wistron_btns.c	2007-04-07 15:09:44.0 +0200
@@ -490,7 +490,7 @@
 	{ KE_KEY, 0x01, {KEY_HELP} },
 	{ KE_KEY, 0x02, {KEY_CONFIG} },
 	{ KE_KEY, 0x11, {KEY_PROG1} },
-	{ KE_KEY, 0x12, {KEY_PROG3} },
+	{ KE_KEY, 0x12, {KEY_PROG2} },
 	{ KE_KEY, 0x13, {KEY_PROG3} },
 	{ KE_KEY, 0x14, {KEY_MAIL} },
 	{ KE_KEY, 0x15, {KEY_WWW} },


[PATCH 1/2] wistron_btns: add led support

2007-04-18 Thread Éric Piel
This fix a typo on the TM610 definition, inserted in my recent patch 
add-acerhk-database.


Eric

From: Eric Piel [EMAIL PROTECTED]

wriston_btns: Fix typo for TM610
I did a typo in a previous patch for wistron_btns add acerhk database. This
patch fixes this typo that prevented PROG2 key to work.

Signed-off-by: Eric Piel [EMAIL PROTECTED]

--- linux-2.6.21/drivers/input/misc/wistron_btns.c.bak	2007-04-07 15:09:30.0 +0200
+++ linux-2.6.21/drivers/input/misc/wistron_btns.c	2007-04-07 15:09:44.0 +0200
@@ -490,7 +490,7 @@
 	{ KE_KEY, 0x01, {KEY_HELP} },
 	{ KE_KEY, 0x02, {KEY_CONFIG} },
 	{ KE_KEY, 0x11, {KEY_PROG1} },
-	{ KE_KEY, 0x12, {KEY_PROG3} },
+	{ KE_KEY, 0x12, {KEY_PROG2} },
 	{ KE_KEY, 0x13, {KEY_PROG3} },
 	{ KE_KEY, 0x14, {KEY_MAIL} },
 	{ KE_KEY, 0x15, {KEY_WWW} },