Messages in this thread |  | | Date | Tue, 19 Jul 2011 17:23:23 +0200 | | From | Uwe Kleine-König <> | | Subject | Re: [PATCH] gpio/mxc/mxs: fix build error introduced by the reanming of irq_gc_ack() |
| |
Hello Shawn,
> > > ct = gc->chip_types; > > >- ct->chip.irq_ack = irq_gc_ack, > > >+ ct->chip.irq_ack = irq_gc_ack_set_bit, > > > > There should be semicolon rathern than comma at the end. > > > Thanks, Sergei. I'm pretty surprised that gcc did not help me there. > > > ct->chip.irq_mask = irq_gc_mask_clr_bit; That's because using a comma is valid C, too. It just assigns ct->chip.irq_ack as a side effect of the expression
ct->chip.irq_ack = irq_gc_ack_set_bit, ct->chip.irq_unmask = irq_gc_mask_set_bit;
Best regards Uwe
-- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |