* [PATCH] n35: fix key codes
@ 2010-06-23 20:06 Pinkava J.
0 siblings, 0 replies; only message in thread
From: Pinkava J. @ 2010-06-23 20:06 UTC (permalink / raw)
To: linux-arm-kernel
Someone copied code but forget set key codes.
Signed-off-by: Jiri Pinkava <jiri.pinkava@vscht.cz>
---
arch/arm/mach-s3c2410/mach-n30.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-s3c2410/mach-n30.c b/arch/arm/mach-s3c2410/mach-n30.c
index 41f299d..c6bf1cf 100644
--- a/arch/arm/mach-s3c2410/mach-n30.c
+++ b/arch/arm/mach-s3c2410/mach-n30.c
@@ -193,13 +193,13 @@ static struct gpio_keys_button n35_buttons[] = {
},
{
.gpio = S3C2410_GPG(6),
- .code = KEY_DOWN,
+ .code = KEY_LEFT,
.desc = "Joystick Left",
.active_low = 0,
},
{
.gpio = S3C2410_GPG(5),
- .code = KEY_DOWN,
+ .code = KEY_RIGHT,
.desc = "Joystick Right",
.active_low = 0,
},
--
1.7.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-06-23 20:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-23 20:06 [PATCH] n35: fix key codes Pinkava J.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.