diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2007-07-24 03:35:53 -0400 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-07-24 03:35:53 -0400 |
commit | 301af2952b35fa527c89b4c0c0c1003d50afc378 (patch) | |
tree | bd4f9fd33277cefa456aa57857c83674916b2fe4 /include/asm-blackfin/mach-bf548 | |
parent | bc8c84c947ad65cd2850c43f96bea825e426f9eb (diff) |
Blackfin arch: Finalize the generic gpio support - add gpio_to_irq and irq_to_gpio
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'include/asm-blackfin/mach-bf548')
-rw-r--r-- | include/asm-blackfin/mach-bf548/irq.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-blackfin/mach-bf548/irq.h b/include/asm-blackfin/mach-bf548/irq.h index e548d3cd81e3..21f06f710be6 100644 --- a/include/asm-blackfin/mach-bf548/irq.h +++ b/include/asm-blackfin/mach-bf548/irq.h | |||
@@ -337,6 +337,8 @@ Events (highest priority) EMU 0 | |||
337 | #define IRQ_PJ14 BFIN_PJ_IRQ(14) /* N/A */ | 337 | #define IRQ_PJ14 BFIN_PJ_IRQ(14) /* N/A */ |
338 | #define IRQ_PJ15 BFIN_PJ_IRQ(15) /* N/A */ | 338 | #define IRQ_PJ15 BFIN_PJ_IRQ(15) /* N/A */ |
339 | 339 | ||
340 | #define GPIO_IRQ_BASE IRQ_PA0 | ||
341 | |||
340 | #ifdef CONFIG_IRQCHIP_DEMUX_GPIO | 342 | #ifdef CONFIG_IRQCHIP_DEMUX_GPIO |
341 | #define NR_IRQS (IRQ_PJ15+1) | 343 | #define NR_IRQS (IRQ_PJ15+1) |
342 | #else | 344 | #else |