]> err.no Git - linux-2.6/commitdiff
Blackfin arch: set up gpio interrupt IRQ_PJ9 for BF54x ATAPI PATA driver
authorSonic Zhang <sonic.zhang@analog.com>
Thu, 12 Jul 2007 07:20:25 +0000 (15:20 +0800)
committerBryan Wu <bryan.wu@analog.com>
Thu, 12 Jul 2007 07:20:25 +0000 (15:20 +0800)
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
include/asm-blackfin/mach-bf548/irq.h

index 58c87f04e0183c6e94c0763e048425a0e7905820..0b3325bb1fffa97669d6dd0db9083026f9a19d43 100644 (file)
@@ -318,7 +318,6 @@ Events         (highest priority)  EMU         0
 #define IRQ_PI14       BFIN_PI_IRQ(14)
 #define IRQ_PI15       BFIN_PI_IRQ(15)
 
-#if 0
 #define BFIN_PJ_IRQ(x) ((x) + IRQ_PI15 + 1)
 #define IRQ_PJ0                BFIN_PJ_IRQ(0)
 #define IRQ_PJ1                BFIN_PJ_IRQ(1)
@@ -336,10 +335,9 @@ Events         (highest priority)  EMU         0
 #define IRQ_PJ13       BFIN_PJ_IRQ(13)
 #define IRQ_PJ14       BFIN_PJ_IRQ(14)         /* N/A */
 #define IRQ_PJ15       BFIN_PJ_IRQ(15)         /* N/A */
-#endif
 
 #ifdef CONFIG_IRQCHIP_DEMUX_GPIO
-#define NR_IRQS     (IRQ_PI15+1)
+#define NR_IRQS     (IRQ_PJ15+1)
 #else
 #define NR_IRQS     (SYS_IRQS+1)
 #endif