Re: [PATCH 3/4] TPS65910: IRQ: Add interrupt controller

From: Jorge Eduardo Candelaria
Date: Thu Apr 14 2011 - 15:05:29 EST


Hi Thomas,
On Apr 14, 2011, at 11:22 AM, Thomas Gleixner wrote:

> On Thu, 14 Apr 2011, Jorge Eduardo Candelaria wrote:
>> +static void tps65910_irq_lock(unsigned int irq)
>> +static void tps65910_irq_sync_unlock(unsigned int irq)
>> +static void tps65910_irq_enable(unsigned int irq)
>> +static void tps65910_irq_disable(unsigned int irq)
>> +
>> +static struct irq_chip tps65910_irq_chip = {
>> + .name = "tps65910",
>> + .irq_bus_lock = tps65910_irq_lock,
>> + .irq_bus_sync_unlock = tps65910_irq_sync_unlock,
>> + .irq_disable = tps65910_irq_disable,
>> + .irq_enable = tps65910_irq_enable,
>> +};
>
> Care to explain how that compiles?

I didn't notice it because there was no compilation error, however, I failed to
see the following warnings:

drivers/mfd/tps65910-irq.c:124: warning: initialization from incompatible pointer type
drivers/mfd/tps65910-irq.c:125: warning: initialization from incompatible pointer type
drivers/mfd/tps65910-irq.c:126: warning: initialization from incompatible pointer type
drivers/mfd/tps65910-irq.c:127: warning: initialization from incompatible pointer type

I'm changing this for v2.

Thanks,
Jorge

>
> Thanks,
>
> tglx

--
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/