diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-10-20 01:51:03 +0200 |
---|---|---|
committer | Nicolas Pitre <nico@cam.org> | 2008-12-20 12:24:05 -0500 |
commit | 07332318f33da6acd88abb762a8b6febdfc560a3 (patch) | |
tree | 911c34bb215427f1f8771a52e7c3d4433397ab83 /arch/arm/plat-orion/include | |
parent | 9569dae75f6f6987e79fa26cf6da3fc24006c996 (diff) | |
download | op-kernel-dev-07332318f33da6acd88abb762a8b6febdfc560a3.zip op-kernel-dev-07332318f33da6acd88abb762a8b6febdfc560a3.tar.gz |
[ARM] Orion: share GPIO IRQ handling code
Split off Orion GPIO IRQ handling code into plat-orion/.
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'arch/arm/plat-orion/include')
-rw-r--r-- | arch/arm/plat-orion/include/plat/gpio.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/plat-orion/include/plat/gpio.h b/arch/arm/plat-orion/include/plat/gpio.h index 956658d..54deaf2 100644 --- a/arch/arm/plat-orion/include/plat/gpio.h +++ b/arch/arm/plat-orion/include/plat/gpio.h @@ -28,5 +28,12 @@ void orion_gpio_set_unused(unsigned pin); void orion_gpio_set_valid(unsigned pin, int valid); void orion_gpio_set_blink(unsigned pin, int blink); +/* + * GPIO interrupt handling. + */ +extern struct irq_chip orion_gpio_irq_edge_chip; +extern struct irq_chip orion_gpio_irq_level_chip; +void orion_gpio_irq_handler(int irqoff); + #endif |