diff options
author | Felipe Balbi <balbi@ti.com> | 2012-03-17 09:47:48 +0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-03-17 09:49:46 +0400 |
commit | 0f1142a514e101076bc01de2f93b242693d0f16f (patch) | |
tree | 4cbc011165e9835d33bde8641114b3a8a86b0ce6 /include/linux/platform_data | |
parent | 043916608c4b309e98a1650520ed4e88ec5e9123 (diff) | |
download | linux-0f1142a514e101076bc01de2f93b242693d0f16f.tar.xz |
Input: omap4-keypad - move platform_data to <linux/platform_data>
This patch allows us to drop the OMAP dependency from the OMAP4 keypad
driver.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r-- | include/linux/platform_data/omap4-keypad.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/platform_data/omap4-keypad.h b/include/linux/platform_data/omap4-keypad.h new file mode 100644 index 000000000000..4eef5fb05a17 --- /dev/null +++ b/include/linux/platform_data/omap4-keypad.h @@ -0,0 +1,13 @@ +#ifndef __LINUX_INPUT_OMAP4_KEYPAD_H +#define __LINUX_INPUT_OMAP4_KEYPAD_H + +#include <linux/input/matrix_keypad.h> + +struct omap4_keypad_platform_data { + const struct matrix_keymap_data *keymap_data; + + u8 rows; + u8 cols; +}; + +#endif /* __LINUX_INPUT_OMAP4_KEYPAD_H */ |