Re: [PATCH] mfd: asic3: Add to_irq() member to gpio_chip structure

From: Samuel Ortiz
Date: Mon Feb 20 2012 - 12:33:20 EST


Hi Paul,

On Tue, Jan 31, 2012 at 01:18:35AM +0000, Paul Parsons wrote:
> The gpio_to_irq() macro is now defined as __gpio_to_irq() instead of IRQ_GPIO().
> The __gpio_to_irq() function returns -ENXIO if the referenced gpio_chip
> structure does not define a to_irq() member.
> This is true of the asic3 gpio_chip structure, and thus calls to gpio_to_irq()
> now fail (for example from the gpio-vbus module).
> This patch defines the to_irq() member in the asic3 gpio_chip structure.
Good old asic3...Thanks, I applied this one.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
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/