]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Input: RX51 keymap - fix recent compile breakage
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 26 Jul 2010 08:12:37 +0000 (01:12 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:26:50 +0000 (10:26 -0700)
commit 2e65a2075cc740b485ab203430bdf3459d5551b6 upstream.

Commit 3fea60261e73 ("Input: twl40300-keypad - fix handling of "all
ground" rows") broke compilation as I managed to use non-existent
keycodes.

Reported-by: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/arm/mach-omap2/board-rx51-peripherals.c

index 3f6e6576387d41ac2b47be71c34507597de02fe3..51c2d3728783c509d42fa543335d8e2662ddf00e 100644 (file)
@@ -192,10 +192,10 @@ static int board_keymap[] = {
        KEY(4, 4, KEY_LEFTCTRL),
        KEY(4, 5, KEY_RIGHTALT),
        KEY(4, 6, KEY_LEFTSHIFT),
-       KEY(4, 8, KEY_10),
+       KEY(4, 8, KEY_F10),
 
        KEY(5, 0, KEY_Y),
-       KEY(5, 8, KEY_11),
+       KEY(5, 8, KEY_F11),
 
        KEY(6, 0, KEY_U),