PXA2xx keyboard driver fix
From: Mike Rapoport
Date: Mon Jul 09 2007 - 05:34:27 EST
The PXA2xx keyboard driver does not compile with 2.6.22
The following patch fixes it
Signed-off-by: Mike Rapoport <mike@xxxxxxxxxxxxxx>
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);