-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Felipe Balbi
authored and
Dmitry Torokhov
committed
Mar 17, 2012
1 parent
0439166
commit 0f1142a
Showing
6 changed files
with
16 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,6 @@ | ||
#ifndef ARCH_ARM_PLAT_OMAP4_KEYPAD_H | ||
#define ARCH_ARM_PLAT_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; | ||
}; | ||
|
||
extern int omap4_keyboard_init(struct omap4_keypad_platform_data *, | ||
struct omap_board_data *); | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 */ |