Commit 82f6aba8 authored by Rakesh Iyer's avatar Rakesh Iyer Committed by Dmitry Torokhov

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: default avatarRakesh Iyer <riyer@nvidia.com>
Acked-by: default avatarStephen Warren: <swarren@nvidia.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 69898e51
...@@ -24,13 +24,8 @@ ...@@ -24,13 +24,8 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/input/matrix_keypad.h> #include <linux/input/matrix_keypad.h>
#ifdef CONFIG_ARCH_TEGRA_2x_SOC
#define KBC_MAX_GPIO 24 #define KBC_MAX_GPIO 24
#define KBC_MAX_KPENT 8 #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_ROW 16
#define KBC_MAX_COL 8 #define KBC_MAX_COL 8
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment