gpio/mxc/mxs: fix build error introduced by the irq_gc_ack() renaming
authorShawn Guo <shawn.guo@linaro.org>
Tue, 19 Jul 2011 13:16:56 +0000 (21:16 +0800)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 19 Jul 2011 19:10:02 +0000 (13:10 -0600)
The following commit renames irq_gc_ack() to irq_gc_ack_set_bit(),
and makes gpio-mxc and gpio-mxs fail to build.

  659fb32d1b67476f4ade25e9ea0e2642a5b9c4b5
  genirq: replace irq_gc_ack() with {set,clr}_bit variants (fwd)

The patch fixed a couple of typo of comma to semicolon.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-mxc.c
drivers/gpio/gpio-mxs.c

index 89fda58db90d62ee3e3795db52fa0548c1e4e7c9..4340acae3bd3791d713b61022c13d8ed13ed4718 100644 (file)
@@ -297,11 +297,11 @@ static void __init mxc_gpio_init_gc(struct mxc_gpio_port *port)
        gc->private = port;
 
        ct = gc->chip_types;
-       ct->chip.irq_ack = irq_gc_ack,
+       ct->chip.irq_ack = irq_gc_ack_set_bit;
        ct->chip.irq_mask = irq_gc_mask_clr_bit;
        ct->chip.irq_unmask = irq_gc_mask_set_bit;
        ct->chip.irq_set_type = gpio_set_irq_type;
-       ct->chip.irq_set_wake = gpio_set_wake_irq,
+       ct->chip.irq_set_wake = gpio_set_wake_irq;
        ct->regs.ack = GPIO_ISR;
        ct->regs.mask = GPIO_IMR;
 
index d8cafba8c8292a885ae9f133cd89b7740b05b354..af55a8577c2e110ff08ca872613c8910fc6b636b 100644 (file)
@@ -156,11 +156,11 @@ static void __init mxs_gpio_init_gc(struct mxs_gpio_port *port)
        gc->private = port;
 
        ct = gc->chip_types;
-       ct->chip.irq_ack = irq_gc_ack,
+       ct->chip.irq_ack = irq_gc_ack_set_bit;
        ct->chip.irq_mask = irq_gc_mask_clr_bit;
        ct->chip.irq_unmask = irq_gc_mask_set_bit;
        ct->chip.irq_set_type = mxs_gpio_set_irq_type;
-       ct->chip.irq_set_wake = mxs_gpio_set_wake_irq,
+       ct->chip.irq_set_wake = mxs_gpio_set_wake_irq;
        ct->regs.ack = PINCTRL_IRQSTAT(port->id) + MXS_CLR;
        ct->regs.mask = PINCTRL_IRQEN(port->id);