linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rakesh Iyer <riyer@nvidia.com>
To: dmitry.torokhov@gmail.com
Cc: swarren@nvidia.com, linux-input@vger.kernel.org,
	linux-kernel@vger.kernel.org, Rakesh Iyer <riyer@nvidia.com>
Subject: [PATCH 1/1] Input: tegra-kbc - remove pre Tegra20 definitions
Date: Tue, 17 Jan 2012 15:26:50 -0800	[thread overview]
Message-ID: <1326842810-12039-1-git-send-email-riyer@nvidia.com> (raw)

Add support for Tegra30 by correcting definitions. This is necessary to
make driver useful in Tegra30.

Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
---
 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


             reply	other threads:[~2012-01-17 23:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-17 23:26 Rakesh Iyer [this message]
2012-01-18  0:30 ` [PATCH 1/1] Input: tegra-kbc - remove pre Tegra20 definitions Dmitry Torokhov
2012-01-18 16:36   ` Stephen Warren
2012-01-18 21:12     ` Stephen Warren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1326842810-12039-1-git-send-email-riyer@nvidia.com \
    --to=riyer@nvidia.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=swarren@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).