提交 82f6aba8 编写于 作者: R Rakesh Iyer 提交者: 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: NRakesh Iyer <riyer@nvidia.com>
Acked-by: NStephen Warren: <swarren@nvidia.com>
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
上级 69898e51
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册