diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2006-05-07 09:48:25 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-06-19 12:39:17 -0400 |
commit | a643d2b57403dc943fd4d9a3c803addd1c6b0ddc (patch) | |
tree | c06e22a97cffe9f700874fba938eceb6226e50e8 /arch/mips/au1000/db1x00 | |
parent | 3c0094426f3ff37697062b940211712746419688 (diff) |
[MIPS] Au1xxx: board specific irq code cleanup
Convert sizeof/sizeof use to use of ARRAY_SIZE macro, and annotate
irqmap structures as __initdata.
Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/au1000/db1x00')
-rw-r--r-- | arch/mips/au1000/db1x00/irqmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/au1000/db1x00/irqmap.c b/arch/mips/au1000/db1x00/irqmap.c index f63024a9893a..0138c5b7c860 100644 --- a/arch/mips/au1000/db1x00/irqmap.c +++ b/arch/mips/au1000/db1x00/irqmap.c | |||
@@ -80,7 +80,7 @@ char irq_tab_alchemy[][5] __initdata = { | |||
80 | #endif | 80 | #endif |
81 | 81 | ||
82 | 82 | ||
83 | au1xxx_irq_map_t au1xxx_irq_map[] = { | 83 | au1xxx_irq_map_t __initdata au1xxx_irq_map[] = { |
84 | 84 | ||
85 | #ifndef CONFIG_MIPS_MIRAGE | 85 | #ifndef CONFIG_MIPS_MIRAGE |
86 | #ifdef CONFIG_MIPS_DB1550 | 86 | #ifdef CONFIG_MIPS_DB1550 |
@@ -101,4 +101,4 @@ au1xxx_irq_map_t au1xxx_irq_map[] = { | |||
101 | 101 | ||
102 | }; | 102 | }; |
103 | 103 | ||
104 | int au1xxx_nr_irqs = sizeof(au1xxx_irq_map)/sizeof(au1xxx_irq_map_t); | 104 | int __initdata au1xxx_nr_irqs = ARRAY_SIZE(au1xxx_irq_map); |