2012-02-20 17:33:24

by Samuel Ortiz

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

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/