]> git.karo-electronics.de Git - linux-beck.git/commit
powerpc/gpio: support gpio_to_irq()
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 1 Dec 2009 20:48:13 +0000 (21:48 +0100)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 11 Dec 2009 02:08:15 +0000 (20:08 -0600)
commit78331aded913d76c7ff996a1a0747d54b057460b
treeb778b3b430539cdc925b65a9e2a5663529ade4e1
parent1cad2c874162d84bf7b2d31344a08b9cb724d138
powerpc/gpio: support gpio_to_irq()

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@sunsite.dk>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/include/asm/gpio.h