diff options
author | Rakesh Iyer <riyer@nvidia.com> | 2012-01-23 02:27:54 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-01-23 03:02:42 -0500 |
commit | 82f6aba8eacf9dec23459832c1a0c789db28faa3 (patch) | |
tree | 6f883e273c0d2ec1b59b7f0fec71aa3239888369 /arch/arm/mach-tegra/include/mach | |
parent | 69898e512a4c27017aec43796bef8fe1dd1ec661 (diff) |
Input: tegra-kbc - remove pre-Tegra20 definitions
Add support for Tegra30 by correcting definitions. This is necessary to
make driver useful in Tegra30.
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Acked-by: Stephen Warren: <swarren@nvidia.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'arch/arm/mach-tegra/include/mach')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/kbc.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-tegra/include/mach/kbc.h b/arch/arm/mach-tegra/include/mach/kbc.h index 20bb0545f992..d34ecd1bea63 100644 --- a/arch/arm/mach-tegra/include/mach/kbc.h +++ b/arch/arm/mach-tegra/include/mach/kbc.h | |||
@@ -24,13 +24,8 @@ | |||
24 | #include <linux/types.h> | 24 | #include <linux/types.h> |
25 | #include <linux/input/matrix_keypad.h> | 25 | #include <linux/input/matrix_keypad.h> |
26 | 26 | ||
27 | #ifdef CONFIG_ARCH_TEGRA_2x_SOC | ||
28 | #define KBC_MAX_GPIO 24 | 27 | #define KBC_MAX_GPIO 24 |
29 | #define KBC_MAX_KPENT 8 | 28 | #define KBC_MAX_KPENT 8 |
30 | #else | ||
31 | #define KBC_MAX_GPIO 20 | ||
32 | #define KBC_MAX_KPENT 7 | ||
33 | #endif | ||
34 | 29 | ||
35 | #define KBC_MAX_ROW 16 | 30 | #define KBC_MAX_ROW 16 |
36 | #define KBC_MAX_COL 8 | 31 | #define KBC_MAX_COL 8 |