mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-08 12:45:12 +07:00
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: Rakesh Iyer <riyer@nvidia.com> Acked-by: Stephen Warren: <swarren@nvidia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
69898e512a
commit
82f6aba8ea
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user