diff options
Diffstat (limited to 'arch/mips/au1000/pb1500/irqmap.c')
-rw-r--r-- | arch/mips/au1000/pb1500/irqmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/au1000/pb1500/irqmap.c b/arch/mips/au1000/pb1500/irqmap.c index 8cb76c2edb5e..409d1612bb63 100644 --- a/arch/mips/au1000/pb1500/irqmap.c +++ b/arch/mips/au1000/pb1500/irqmap.c | |||
@@ -52,7 +52,7 @@ char irq_tab_alchemy[][5] __initdata = { | |||
52 | [13] = { -1, INTA, INTB, INTC, INTD}, /* IDSEL 13 - PCI slot */ | 52 | [13] = { -1, INTA, INTB, INTC, INTD}, /* IDSEL 13 - PCI slot */ |
53 | }; | 53 | }; |
54 | 54 | ||
55 | au1xxx_irq_map_t au1xxx_irq_map[] = { | 55 | au1xxx_irq_map_t __initdata au1xxx_irq_map[] = { |
56 | { AU1500_GPIO_204, INTC_INT_HIGH_LEVEL, 0}, | 56 | { AU1500_GPIO_204, INTC_INT_HIGH_LEVEL, 0}, |
57 | { AU1500_GPIO_201, INTC_INT_LOW_LEVEL, 0 }, | 57 | { AU1500_GPIO_201, INTC_INT_LOW_LEVEL, 0 }, |
58 | { AU1500_GPIO_202, INTC_INT_LOW_LEVEL, 0 }, | 58 | { AU1500_GPIO_202, INTC_INT_LOW_LEVEL, 0 }, |
@@ -60,4 +60,4 @@ au1xxx_irq_map_t au1xxx_irq_map[] = { | |||
60 | { AU1500_GPIO_205, INTC_INT_LOW_LEVEL, 0 }, | 60 | { AU1500_GPIO_205, INTC_INT_LOW_LEVEL, 0 }, |
61 | }; | 61 | }; |
62 | 62 | ||
63 | int au1xxx_nr_irqs = sizeof(au1xxx_irq_map)/sizeof(au1xxx_irq_map_t); | 63 | int __initdata au1xxx_nr_irqs = ARRAY_SIZE(au1xxx_irq_map); |