diff options
author | Koen Kooi <koen@openembedded.org> | 2009-11-26 13:45:32 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-11-26 13:45:32 +0100 |
commit | 8af5e0ed1a7c79cd97ac5c58a7663c56b7f11621 (patch) | |
tree | 39c6c19e441e1dc48a671a96e81d6c9aa3ebad63 /recipes/linux/linux-2.6.24/smartq5/mer/0001-Mer-keymappings-change.patch | |
parent | 39e66d2f9b322ea7f8711bdcfa9b251b614e60fa (diff) |
linux 2.6.24: add support for smartq5 device (machine.conf will follow later)
* also fix task ordering due to kernel.bbclass changes
Diffstat (limited to 'recipes/linux/linux-2.6.24/smartq5/mer/0001-Mer-keymappings-change.patch')
-rw-r--r-- | recipes/linux/linux-2.6.24/smartq5/mer/0001-Mer-keymappings-change.patch | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/recipes/linux/linux-2.6.24/smartq5/mer/0001-Mer-keymappings-change.patch b/recipes/linux/linux-2.6.24/smartq5/mer/0001-Mer-keymappings-change.patch new file mode 100644 index 0000000000..a95ff35c04 --- /dev/null +++ b/recipes/linux/linux-2.6.24/smartq5/mer/0001-Mer-keymappings-change.patch @@ -0,0 +1,66 @@ +From 8dd9e60b445d8e002fdf3b4da5199a54ac87c422 Mon Sep 17 00:00:00 2001 +From: Carsten V. Munk <carsten.munk@gmail.com> +Date: Thu, 6 Aug 2009 09:24:12 +0000 +Subject: [PATCH 01/13] Mer: keymappings change + +--- + arch/arm/mach-s3c6410/mach-smdk6410.c | 12 ++++++------ + 1 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/arch/arm/mach-s3c6410/mach-smdk6410.c b/arch/arm/mach-s3c6410/mach-smdk6410.c +index 74dadd1..bdcfc59 100644 +--- a/arch/arm/mach-s3c6410/mach-smdk6410.c ++++ b/arch/arm/mach-s3c6410/mach-smdk6410.c +@@ -299,21 +299,21 @@ static struct gpio_keys_button hhmid_buttons[] = { + #if defined (CONFIG_LCD_4) + { + .gpio = S3C_GPN2, //32*16 + 2 +- .code = KEY_PAGEDOWN, ++ .code = 196, + .desc = "Button 0", + .active_low = 1, + .debounce_interval = 5, + }, + { + .gpio = S3C_GPN12, +- .code = KEY_PAGEUP, ++ .code = 197, + .desc = "Button 3", + .active_low = 1, + .debounce_interval = 5, + }, + { + .gpio = S3C_GPN15, +- .code = KEY_LEFTALT, ++ .code = 195, + .desc = "Button 4", + .active_low = 1, + .debounce_interval = 5, +@@ -321,21 +321,21 @@ static struct gpio_keys_button hhmid_buttons[] = { + #else + { + .gpio = S3C_GPN4, +- .code = KEY_PAGEUP, ++ .code = KEY_F7, + .desc = "Button 0", + .active_low = 1, + .debounce_interval = 5, + }, + { + .gpio = S3C_GPN3, +- .code = KEY_PAGEDOWN, ++ .code = KEY_F8, + .desc = "Button 1", + .active_low = 1, + .debounce_interval = 5, + }, + { + .gpio = S3C_GPN2, //32*16 + 2 +- .code = KEY_LEFTALT, ++ .code = KEY_F6, + .desc = "Button 2", + .active_low = 1, + .debounce_interval = 5, +-- +1.6.2.4 + |