aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-sa1100/assabet.c
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-02-23 18:06:51 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-03-25 18:57:20 -0400
commitf314f33be77d6a48ae19748e3dc4a6657042b525 (patch)
tree6943191f7d9052c51dd66c4cdb99e5a265d2d0de /arch/arm/mach-sa1100/assabet.c
parent3638dd2b45ceac2e9526f0ee83b0923db3546979 (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/assabet.c')
-rw-r--r--arch/arm/mach-sa1100/assabet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-sa1100/assabet.c b/arch/arm/mach-sa1100/assabet.c
index e708a93a7ddb..375d3f779a88 100644
--- a/arch/arm/mach-sa1100/assabet.c
+++ b/arch/arm/mach-sa1100/assabet.c
@@ -25,7 +25,6 @@
25 25
26#include <mach/hardware.h> 26#include <mach/hardware.h>
27#include <asm/mach-types.h> 27#include <asm/mach-types.h>
28#include <asm/irq.h>
29#include <asm/setup.h> 28#include <asm/setup.h>
30#include <asm/page.h> 29#include <asm/page.h>
31#include <asm/pgtable-hwdef.h> 30#include <asm/pgtable-hwdef.h>
@@ -39,6 +38,7 @@
39#include <asm/mach/serial_sa1100.h> 38#include <asm/mach/serial_sa1100.h>
40#include <mach/assabet.h> 39#include <mach/assabet.h>
41#include <mach/mcp.h> 40#include <mach/mcp.h>
41#include <mach/irqs.h>
42 42
43#include "generic.h" 43#include "generic.h"
44 44
@@ -534,6 +534,7 @@ MACHINE_START(ASSABET, "Intel-Assabet")
534 .atag_offset = 0x100, 534 .atag_offset = 0x100,
535 .fixup = fixup_assabet, 535 .fixup = fixup_assabet,
536 .map_io = assabet_map_io, 536 .map_io = assabet_map_io,
537 .nr_irqs = SA1100_NR_IRQS,
537 .init_irq = sa1100_init_irq, 538 .init_irq = sa1100_init_irq,
538 .timer = &sa1100_timer, 539 .timer = &sa1100_timer,
539 .init_machine = assabet_init, 540 .init_machine = assabet_init,