diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-pxa/include/mach/pxa27x_keypad.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/include/mach/pxa27x_keypad.h b/arch/arm/mach-pxa/include/mach/pxa27x_keypad.h index d5a48a96dea7..63e8965ad85d 100644 --- a/arch/arm/mach-pxa/include/mach/pxa27x_keypad.h +++ b/arch/arm/mach-pxa/include/mach/pxa27x_keypad.h | |||
@@ -2,6 +2,7 @@ | |||
2 | #define __ASM_ARCH_PXA27x_KEYPAD_H | 2 | #define __ASM_ARCH_PXA27x_KEYPAD_H |
3 | 3 | ||
4 | #include <linux/input.h> | 4 | #include <linux/input.h> |
5 | #include <linux/input/matrix_keypad.h> | ||
5 | 6 | ||
6 | #define MAX_MATRIX_KEY_ROWS (8) | 7 | #define MAX_MATRIX_KEY_ROWS (8) |
7 | #define MAX_MATRIX_KEY_COLS (8) | 8 | #define MAX_MATRIX_KEY_COLS (8) |
@@ -51,8 +52,6 @@ struct pxa27x_keypad_platform_data { | |||
51 | unsigned int debounce_interval; | 52 | unsigned int debounce_interval; |
52 | }; | 53 | }; |
53 | 54 | ||
54 | #define KEY(row, col, val) (((row) << 28) | ((col) << 24) | (val)) | ||
55 | |||
56 | extern void pxa_set_keypad_info(struct pxa27x_keypad_platform_data *info); | 55 | extern void pxa_set_keypad_info(struct pxa27x_keypad_platform_data *info); |
57 | 56 | ||
58 | #endif /* __ASM_ARCH_PXA27x_KEYPAD_H */ | 57 | #endif /* __ASM_ARCH_PXA27x_KEYPAD_H */ |