diff options
author | Komal Shah <komal_shah802003@yahoo.com> | 2006-09-29 01:59:19 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 09:18:07 -0700 |
commit | ad4e09b16ad361c15bd7186dcd118cb901089b97 (patch) | |
tree | eb74ac65ec10ac73eb404a98b34e851fd98bd499 /include/asm-arm/arch-omap/keypad.h | |
parent | 7768a13c252a97e13a552f88f642962768de1fa4 (diff) | |
download | linux-ad4e09b16ad361c15bd7186dcd118cb901089b97.tar.bz2 |
[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/keypad.h')
-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 { int rows; int cols; int *keymap; + unsigned int keymapsize; unsigned int rep:1; + unsigned long delay; + unsigned int dbounce:1; /* specific to OMAP242x*/ unsigned int *row_gpios; unsigned int *col_gpios; |