summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/include/mach/kbc.h
diff options
context:
space:
mode:
authorRakesh Iyer <riyer@nvidia.com>2012-01-22 23:27:54 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-01-23 00:02:42 -0800
commit82f6aba8eacf9dec23459832c1a0c789db28faa3 (patch)
tree6f883e273c0d2ec1b59b7f0fec71aa3239888369 /arch/arm/mach-tegra/include/mach/kbc.h
parent69898e512a4c27017aec43796bef8fe1dd1ec661 (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/kbc.h')
-rw-r--r--arch/arm/mach-tegra/include/mach/kbc.h5
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 20bb0545f99..d34ecd1bea6 100644
--- a/arch/arm/mach-tegra/include/mach/kbc.h
+++ b/arch/arm/mach-tegra/include/mach/kbc.h
@@ -24,13 +24,8 @@
#include <linux/types.h>
#include <linux/input/matrix_keypad.h>
-#ifdef CONFIG_ARCH_TEGRA_2x_SOC
#define KBC_MAX_GPIO 24
#define KBC_MAX_KPENT 8
-#else
-#define KBC_MAX_GPIO 20
-#define KBC_MAX_KPENT 7
-#endif
#define KBC_MAX_ROW 16
#define KBC_MAX_COL 8