diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-02-23 18:06:51 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-03-25 18:57:20 -0400 |
commit | f314f33be77d6a48ae19748e3dc4a6657042b525 (patch) | |
tree | 6943191f7d9052c51dd66c4cdb99e5a265d2d0de /arch/arm/mach-sa1100/collie.c | |
parent | 3638dd2b45ceac2e9526f0ee83b0923db3546979 (diff) |
ARM: 7342/2: sa1100: prepare for sparse irq conversion
In preparation to convert SA1100 to sparse irq, set .nr_irqs for each machine
and explicitly include mach/irqs.h as needed.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-sa1100/collie.c')
-rw-r--r-- | arch/arm/mach-sa1100/collie.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-sa1100/collie.c b/arch/arm/mach-sa1100/collie.c index d4339d639475..48885b7efd6b 100644 --- a/arch/arm/mach-sa1100/collie.c +++ b/arch/arm/mach-sa1100/collie.c | |||
@@ -33,7 +33,6 @@ | |||
33 | 33 | ||
34 | #include <mach/hardware.h> | 34 | #include <mach/hardware.h> |
35 | #include <asm/mach-types.h> | 35 | #include <asm/mach-types.h> |
36 | #include <asm/irq.h> | ||
37 | #include <asm/page.h> | 36 | #include <asm/page.h> |
38 | #include <asm/setup.h> | 37 | #include <asm/setup.h> |
39 | #include <mach/collie.h> | 38 | #include <mach/collie.h> |
@@ -47,6 +46,7 @@ | |||
47 | #include <asm/mach/sharpsl_param.h> | 46 | #include <asm/mach/sharpsl_param.h> |
48 | #include <asm/hardware/locomo.h> | 47 | #include <asm/hardware/locomo.h> |
49 | #include <mach/mcp.h> | 48 | #include <mach/mcp.h> |
49 | #include <mach/irqs.h> | ||
50 | 50 | ||
51 | #include "generic.h" | 51 | #include "generic.h" |
52 | 52 | ||
@@ -393,6 +393,7 @@ static void __init collie_map_io(void) | |||
393 | 393 | ||
394 | MACHINE_START(COLLIE, "Sharp-Collie") | 394 | MACHINE_START(COLLIE, "Sharp-Collie") |
395 | .map_io = collie_map_io, | 395 | .map_io = collie_map_io, |
396 | .nr_irqs = SA1100_NR_IRQS, | ||
396 | .init_irq = sa1100_init_irq, | 397 | .init_irq = sa1100_init_irq, |
397 | .timer = &sa1100_timer, | 398 | .timer = &sa1100_timer, |
398 | .init_machine = collie_init, | 399 | .init_machine = collie_init, |