[PATCH v2] pcmcia: pxa: replace IRQ_GPIO() with gpio_to_irq()
Haojian Zhuang
haojian.zhuang at gmail.com
Mon Dec 5 06:29:51 EST 2011
On Mon, Dec 5, 2011 at 7:06 PM, Axel Lin <axel.lin at gmail.com> 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 at gmail.com>
> Cc: Ian Molton <spyro at f2s.com>
> Cc: Jonathan Cameron <jic23 at cam.ac.uk>
> Cc: Zhuang <haojian.zhuang at marvell.com>
> Cc: Eric Miao <eric.y.miao at gmail.com>
> Cc: Russell King <linux at arm.linux.org.uk>
> Signed-off-by: Axel Lin <axel.lin at gmail.com>
> ---
> 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 at gmail.com>
More information about the linux-pcmcia
mailing list