]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
gpiolib to_irq() feature
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 3 Oct 2008 16:02:55 +0000 (09:02 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 6 Oct 2008 06:33:17 +0000 (09:33 +0300)
commite9d6bd635c94af2a53c1e4a9034a6f1f0c46aa8a
tree50ae71d696380fce3a6a8b646b7efecc36fff1d6
parent65900d7177d806f861f345d99d7228fe7d3fc423
gpiolib to_irq() feature

Add a new gpiolib mechanism:  gpio_chip instances can provide
mappings between their (input) GPIOs and any associated IRQs.
This makes it easier for platforms to support IRQs that are
provided by board-specific external chips instead of as part
of their core (such as SOC-integrated GPIOs).

Also update the irq_to_gpio() description, saying to avoid it
becuase it's not always supported.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Documentation/gpio.txt
drivers/gpio/gpiolib.c
include/asm-generic/gpio.h