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 20bb0545f99208f4126d61afcf53671ba261afb2..d34ecd1bea63cfb0ea34ce76915d23124b772b3e 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