diff options
Diffstat (limited to 'arch/mips/au1000/xxs1500/irqmap.c')
-rw-r--r-- | arch/mips/au1000/xxs1500/irqmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/au1000/xxs1500/irqmap.c b/arch/mips/au1000/xxs1500/irqmap.c index 52f2f7daeb05..3844c6429e27 100644 --- a/arch/mips/au1000/xxs1500/irqmap.c +++ b/arch/mips/au1000/xxs1500/irqmap.c | |||
@@ -47,7 +47,7 @@ | |||
47 | #include <asm/system.h> | 47 | #include <asm/system.h> |
48 | #include <asm/au1000.h> | 48 | #include <asm/au1000.h> |
49 | 49 | ||
50 | au1xxx_irq_map_t au1xxx_irq_map[] = { | 50 | au1xxx_irq_map_t __initdata au1xxx_irq_map[] = { |
51 | { AU1500_GPIO_204, INTC_INT_HIGH_LEVEL, 0}, | 51 | { AU1500_GPIO_204, INTC_INT_HIGH_LEVEL, 0}, |
52 | { AU1500_GPIO_201, INTC_INT_LOW_LEVEL, 0 }, | 52 | { AU1500_GPIO_201, INTC_INT_LOW_LEVEL, 0 }, |
53 | { AU1500_GPIO_202, INTC_INT_LOW_LEVEL, 0 }, | 53 | { AU1500_GPIO_202, INTC_INT_LOW_LEVEL, 0 }, |
@@ -63,4 +63,4 @@ au1xxx_irq_map_t au1xxx_irq_map[] = { | |||
63 | { AU1000_GPIO_5, INTC_INT_LOW_LEVEL, 0 }, | 63 | { AU1000_GPIO_5, INTC_INT_LOW_LEVEL, 0 }, |
64 | }; | 64 | }; |
65 | 65 | ||
66 | int au1xxx_nr_irqs = sizeof(au1xxx_irq_map)/sizeof(au1xxx_irq_map_t); | 66 | int __initdata au1xxx_nr_irqs = ARRAY_SIZE(au1xxx_irq_map); |