diff options
author | Komal Shah <komal_shah802003@yahoo.com> | 2006-09-29 04:59:19 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 12:18:07 -0400 |
commit | ad4e09b16ad361c15bd7186dcd118cb901089b97 (patch) | |
tree | eb74ac65ec10ac73eb404a98b34e851fd98bd499 /include/asm-arm/arch-omap | |
parent | 7768a13c252a97e13a552f88f642962768de1fa4 (diff) |
[PATCH] OMAP: Add keypad driver
This patch adds support for keypad driver running on different TI
OMAP(http://www.ti.com/omap) processor based boards like OSK, H2, H3, H4,
Persuas and Nokia 770.
Signed-off-by: Komal Shah <komal_shah802003@yahoo.com>
Acked-by: Dmitry Torokhov <dtor@mail.ru>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-arm/arch-omap')
-rw-r--r-- | include/asm-arm/arch-omap/keypad.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-arm/arch-omap/keypad.h b/include/asm-arm/arch-omap/keypad.h index 8a023a984acb..b7f83075436e 100644 --- a/include/asm-arm/arch-omap/keypad.h +++ b/include/asm-arm/arch-omap/keypad.h | |||
@@ -14,7 +14,10 @@ struct omap_kp_platform_data { | |||
14 | int rows; | 14 | int rows; |
15 | int cols; | 15 | int cols; |
16 | int *keymap; | 16 | int *keymap; |
17 | unsigned int keymapsize; | ||
17 | unsigned int rep:1; | 18 | unsigned int rep:1; |
19 | unsigned long delay; | ||
20 | unsigned int dbounce:1; | ||
18 | /* specific to OMAP242x*/ | 21 | /* specific to OMAP242x*/ |
19 | unsigned int *row_gpios; | 22 | unsigned int *row_gpios; |
20 | unsigned int *col_gpios; | 23 | unsigned int *col_gpios; |