Input: tegra-kbc - remove pre-Tegra20 definitions
authorRakesh Iyer <riyer@nvidia.com>
Mon, 23 Jan 2012 07:27:54 +0000 (23:27 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 23 Jan 2012 08:02:42 +0000 (00:02 -0800)
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>
arch/arm/mach-tegra/include/mach/kbc.h

index 20bb054..d34ecd1 100644 (file)
 #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