Re: PXA2xx keyboard driver fix
From: Rodolfo Giometti
Date: Mon Jul 09 2007 - 09:26:40 EST
On Mon, Jul 09, 2007 at 11:49:13AM +0300, Mike Rapoport wrote:
> 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);
Acked-by: Rodolfo Giometti <giometti@xxxxxxxx>
-
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/