[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
@@ -172,9 +172,11 @@ static struct resource kp_resources[] = {
|
||||
};
|
||||
|
||||
static struct omap_kp_platform_data kp_data = {
|
||||
.rows = 8,
|
||||
.cols = 8,
|
||||
.keymap = fsample_keymap,
|
||||
.rows = 8,
|
||||
.cols = 8,
|
||||
.keymap = fsample_keymap,
|
||||
.keymapsize = ARRAY_SIZE(fsample_keymap),
|
||||
.delay = 4,
|
||||
};
|
||||
|
||||
static struct platform_device kp_device = {
|
||||
|
Reference in New Issue
Block a user