Skip to content

Commit

Permalink
Input: tegra-kbc - remove pre-Tegra20 definitions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rakesh Iyer authored and Dmitry Torokhov committed Jan 23, 2012
1 parent 69898e5 commit 82f6aba
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions arch/arm/mach-tegra/include/mach/kbc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 82f6aba

Please sign in to comment.