All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Rapoport <mike@compulab.co.il>
To: Rodolfo Giometti <giometti@linux.it>
Cc: linux-kernel@vger.kernel.org
Subject: PXA2xx keyboard driver fix
Date: Mon, 09 Jul 2007 11:49:13 +0300	[thread overview]
Message-ID: <4691F689.7000503@compulab.co.il> (raw)

[-- Attachment #1: Type: text/plain, Size: 139 bytes --]

The PXA2xx keyboard driver does not compile with 2.6.22
The following patch fixes it

Signed-off-by: Mike Rapoport <mike@compulab.co.il>



[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 566 bytes --]

 drivers/input/keyboard/pxa27x_keyboard.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/input/keyboard/pxa27x_keyboard.c b/drivers/input/keyboard/pxa27x_keyboard.c
index f9e82c9..ebe5eac 100644
--- a/drivers/input/keyboard/pxa27x_keyboard.c
+++ b/drivers/input/keyboard/pxa27x_keyboard.c
@@ -140,7 +140,7 @@ static int pxakbd_resume(struct platform_device *pdev)
 		KPREC = pdata->reg_kprec;
 
 		/* Enable unit clock */
-		pxa_set_cken(CKEN19_KEYPAD, 1);
+		pxa_set_cken(CKEN_KEYPAD, 1);
 	}
 
 	mutex_unlock(&input_dev->mutex);

             reply	other threads:[~2007-07-09  9:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-09  8:49 Mike Rapoport [this message]
2007-07-09 13:27 ` PXA2xx keyboard driver fix Rodolfo Giometti
2007-07-10  5:15   ` Dmitry Torokhov

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=4691F689.7000503@compulab.co.il \
    --to=mike@compulab.co.il \
    --cc=giometti@linux.it \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.