summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra
diff options
context:
space:
mode:
authorRakesh Iyer <riyer@nvidia.com>2012-01-23 08:27:54 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-01-23 09:02:42 +0100
commit82f6aba8eacf9dec23459832c1a0c789db28faa3 (patch)
tree6f883e273c0d2ec1b59b7f0fec71aa3239888369 /arch/arm/mach-tegra
parentInput: samsung-keypad - don't synchronise with runtime PM put (diff)
downloadlinux-82f6aba8eacf9dec23459832c1a0c789db28faa3.tar.xz
linux-82f6aba8eacf9dec23459832c1a0c789db28faa3.zip
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')
-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 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 @@
#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