f3a1ba60db
Get mem and irq resources using platform helpers - platform_get_base - platform_get_irq Signed-off-by: Abraham Arce <x0066660@ti.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
14 lines
299 B
C
14 lines
299 B
C
#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 *);
|
|
#endif
|