Changeset 4090
- Timestamp:
- 02/21/08 05:16:03 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/src/target/kernel/2.6.24.x/patches/gta01-inputdevice.patch
r3682 r4090 3 3 Signed-off-by: Harald Welte <laforge@openmoko.org> 4 4 5 Index: linux-2.6 /drivers/input/keyboard/Kconfig5 Index: linux-2.6.24/drivers/input/keyboard/Kconfig 6 6 =================================================================== 7 --- linux-2.6. orig/drivers/input/keyboard/Kconfig8 +++ linux-2.6 /drivers/input/keyboard/Kconfig9 @@ -293,4 +293,16 @@ 7 --- linux-2.6.24.orig/drivers/input/keyboard/Kconfig 8 +++ linux-2.6.24/drivers/input/keyboard/Kconfig 9 @@ -293,4 +293,16 @@ config KEYBOARD_BFIN 10 10 To compile this driver as a module, choose M here: the 11 11 module will be called bf54x-keys. … … 24 24 + 25 25 endif 26 Index: linux-2.6 /drivers/input/keyboard/Makefile26 Index: linux-2.6.24/drivers/input/keyboard/Makefile 27 27 =================================================================== 28 --- linux-2.6. orig/drivers/input/keyboard/Makefile29 +++ linux-2.6 /drivers/input/keyboard/Makefile30 @@ -14,6 +14,7 @@ 28 --- linux-2.6.24.orig/drivers/input/keyboard/Makefile 29 +++ linux-2.6.24/drivers/input/keyboard/Makefile 30 @@ -14,6 +14,7 @@ obj-$(CONFIG_KEYBOARD_LOCOMO) += locomo 31 31 obj-$(CONFIG_KEYBOARD_NEWTON) += newtonkbd.o 32 32 obj-$(CONFIG_KEYBOARD_STOWAWAY) += stowaway.o … … 36 36 obj-$(CONFIG_KEYBOARD_HIL) += hil_kbd.o 37 37 obj-$(CONFIG_KEYBOARD_HIL_OLD) += hilkbd.o 38 Index: linux-2.6 /drivers/input/keyboard/neo1973kbd.c38 Index: linux-2.6.24/drivers/input/keyboard/neo1973kbd.c 39 39 =================================================================== 40 40 --- /dev/null 41 +++ linux-2.6 /drivers/input/keyboard/neo1973kbd.c42 @@ -0,0 +1,23 6@@41 +++ linux-2.6.24/drivers/input/keyboard/neo1973kbd.c 42 @@ -0,0 +1,239 @@ 43 43 +/* 44 44 + * Keyboard driver for FIC Neo1973 GSM phone … … 67 67 +#include <asm/hardware.h> 68 68 +#include <asm/arch/gta01.h> 69 +#include <asm/mach-types.h> 69 70 + 70 71 +struct neo1973kbd { … … 201 202 + goto out_aux; 202 203 + } 203 + enable_irq_wake(irq_aux); 204 + 205 + if (machine_is_neo1973_gta01()) 206 + enable_irq_wake(irq_aux); 204 207 + 205 208 + if (request_irq(irq_hold, neo1973kbd_hold_irq, IRQF_DISABLED |
Note: See TracChangeset
for help on using the changeset viewer.
