[PATCH] OMAP: Update OMAP1/2 boards to give keymapsize and other pdata
This patch adds keymapsize, delay and debounce flag in the keypad platform data for various TI OMAP1/2 based boards like F-sample, H2, H3, Innovator, Nokia770, OSK, Perseus and H4. Signed-off-by: Komal Shah <komal_shah802003@yahoo.com> Cc: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
ad4e09b16a
commit
4d24607bfa
@@ -167,10 +167,13 @@ static struct resource h2_kp_resources[] = {
|
||||
};
|
||||
|
||||
static struct omap_kp_platform_data h2_kp_data = {
|
||||
.rows = 8,
|
||||
.cols = 8,
|
||||
.keymap = h2_keymap,
|
||||
.rep = 1,
|
||||
.rows = 8,
|
||||
.cols = 8,
|
||||
.keymap = h2_keymap,
|
||||
.keymapsize = ARRAY_SIZE(h2_keymap),
|
||||
.rep = 1,
|
||||
.delay = 9,
|
||||
.dbounce = 1,
|
||||
};
|
||||
|
||||
static struct platform_device h2_kp_device = {
|
||||
|
Reference in New Issue
Block a user