[PATCH 2/3] asm/gpio.h: support gpio_to_irq()

Kumar Gala galak at kernel.crashing.org
Fri Dec 11 13:09:01 EST 2009


On Dec 1, 2009, at 2:48 PM, Peter Korsgaard wrote:

> gpiolib returns -ENXIO if struct gpio_chip::to_irq isn't set, so it's
> safe to always call.
> 
> Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
> ---
> arch/powerpc/include/asm/gpio.h |    5 +----
> 1 files changed, 1 insertions(+), 4 deletions(-)

applied to next

- k


More information about the Linuxppc-dev mailing list