0e5f11aa80
The controller should really be called keypad, and also align the naming of functions and structures to use "pxa27x_keypad" as prefix, instead of "pxakbd". Signed-off-by: Eric Miao <eric.miao@marvell.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
13 lines
262 B
C
13 lines
262 B
C
#define PXAKBD_MAXROW 8
|
|
#define PXAKBD_MAXCOL 8
|
|
|
|
struct pxa27x_keypad_platform_data {
|
|
int nr_rows, nr_cols;
|
|
int keycodes[PXAKBD_MAXROW][PXAKBD_MAXCOL];
|
|
int gpio_modes[PXAKBD_MAXROW + PXAKBD_MAXCOL];
|
|
|
|
#ifdef CONFIG_PM
|
|
u32 reg_kpc;
|
|
u32 reg_kprec;
|
|
#endif
|
|
};
|