Re: [PATCH 1/1] Input: tegra-kbc - remove pre Tegra20 definitions
From: Dmitry Torokhov
Date: Tue Jan 17 2012 - 19:30:17 EST
On Tue, Jan 17, 2012 at 03:26:50PM -0800, Rakesh Iyer wrote:
> Add support for Tegra30 by correcting definitions. This is necessary to
> make driver useful in Tegra30.
So what about older versions? There still could be users...
>
> Signed-off-by: Rakesh Iyer <riyer@xxxxxxxxxx>
> ---
> arch/arm/mach-tegra/include/mach/kbc.h | 5 -----
> 1 files changed, 0 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arm/mach-tegra/include/mach/kbc.h b/arch/arm/mach-tegra/include/mach/kbc.h
> index 4f3572a..3610568 100644
> --- a/arch/arm/mach-tegra/include/mach/kbc.h
> +++ b/arch/arm/mach-tegra/include/mach/kbc.h
> @@ -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
> --
> 1.7.4.1
>
--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/