Re: [PATCH v2] pcmcia: pxa: replace IRQ_GPIO() with gpio_to_irq()

From: Haojian Zhuang
Date: Mon Dec 05 2011 - 06:29:51 EST


On Mon, Dec 5, 2011 at 7:06 PM, Axel Lin <axel.lin@xxxxxxxxx> wrote:
> Since commit 6384fd "ARM: pxa: rename IRQ_GPIO to PXA_GPIO_TO_IRQ",
> I got buid errors due to implicit declaration of function 'IRQ_GPIO'.
>
> Use common gpio_to_irq() to replace machine dependant macro IRQ_GPIO().
>
> Cc: Marek Vasut <marek.vasut@xxxxxxxxx>
> Cc: Ian Molton <spyro@xxxxxxx>
> Cc: Jonathan Cameron <jic23@xxxxxxxxx>
> Cc: Zhuang <haojian.zhuang@xxxxxxxxxxx>
> Cc: Eric Miao <eric.y.miao@xxxxxxxxx>
> Cc: Russell King <linux@xxxxxxxxxxxxxxxx>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
> ---
> v2:
> I just found pxa2xx_trizeps4.c also needs to be converted to gpio_to_irq.
> Thus include the fix for pxa2xx_trizeps4.c in v2.
>
>  drivers/pcmcia/pxa2xx_e740.c      |   11 +++++++----
>  drivers/pcmcia/pxa2xx_palmld.c    |    2 +-
>  drivers/pcmcia/pxa2xx_palmtc.c    |    2 +-
>  drivers/pcmcia/pxa2xx_stargate2.c |    6 ++++--
>  drivers/pcmcia/pxa2xx_trizeps4.c  |    5 +++--
>  drivers/pcmcia/pxa2xx_vpac270.c   |    4 ++--
>  6 files changed, 18 insertions(+), 12 deletions(-)
>
Acked-by: Haojian Zhuang <haojian.zhuang@xxxxxxxxx>
--
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/