summaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin/mach-bf537/irq.h
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2007-07-24 09:35:53 +0200
committerBryan Wu <bryan.wu@analog.com>2007-07-24 09:35:53 +0200
commit301af2952b35fa527c89b4c0c0c1003d50afc378 (patch)
treebd4f9fd33277cefa456aa57857c83674916b2fe4 /include/asm-blackfin/mach-bf537/irq.h
parentBlackfin arch: update to latest anomaly sheets (diff)
downloadlinux-301af2952b35fa527c89b4c0c0c1003d50afc378.tar.xz
linux-301af2952b35fa527c89b4c0c0c1003d50afc378.zip
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-bf537/irq.h')
-rw-r--r--include/asm-blackfin/mach-bf537/irq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-blackfin/mach-bf537/irq.h b/include/asm-blackfin/mach-bf537/irq.h
index 8af2a832ef6b..36c44bc1a917 100644
--- a/include/asm-blackfin/mach-bf537/irq.h
+++ b/include/asm-blackfin/mach-bf537/irq.h
@@ -160,6 +160,8 @@ Core Emulation **
#define IRQ_PH14 96
#define IRQ_PH15 97
+#define GPIO_IRQ_BASE IRQ_PF0
+
#ifdef CONFIG_IRQCHIP_DEMUX_GPIO
#define NR_IRQS (IRQ_PH15+1)
#else