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/simpad.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/simpad.c')
-rw-r--r-- | arch/arm/mach-sa1100/simpad.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-sa1100/simpad.c b/arch/arm/mach-sa1100/simpad.c index 3da4c1f11cf5..3efae03cb3d7 100644 --- a/arch/arm/mach-sa1100/simpad.c +++ b/arch/arm/mach-sa1100/simpad.c | |||
@@ -7,7 +7,7 @@ | |||
7 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
8 | #include <linux/tty.h> | 8 | #include <linux/tty.h> |
9 | #include <linux/proc_fs.h> | 9 | #include <linux/proc_fs.h> |
10 | #include <linux/string.h> | 10 | #include <linux/string.h> |
11 | #include <linux/pm.h> | 11 | #include <linux/pm.h> |
12 | #include <linux/platform_device.h> | 12 | #include <linux/platform_device.h> |
13 | #include <linux/mfd/ucb1x00.h> | 13 | #include <linux/mfd/ucb1x00.h> |
@@ -16,7 +16,6 @@ | |||
16 | #include <linux/io.h> | 16 | #include <linux/io.h> |
17 | #include <linux/gpio.h> | 17 | #include <linux/gpio.h> |
18 | 18 | ||
19 | #include <asm/irq.h> | ||
20 | #include <mach/hardware.h> | 19 | #include <mach/hardware.h> |
21 | #include <asm/setup.h> | 20 | #include <asm/setup.h> |
22 | 21 | ||
@@ -27,6 +26,7 @@ | |||
27 | #include <asm/mach/serial_sa1100.h> | 26 | #include <asm/mach/serial_sa1100.h> |
28 | #include <mach/mcp.h> | 27 | #include <mach/mcp.h> |
29 | #include <mach/simpad.h> | 28 | #include <mach/simpad.h> |
29 | #include <mach/irqs.h> | ||
30 | 30 | ||
31 | #include <linux/serial_core.h> | 31 | #include <linux/serial_core.h> |
32 | #include <linux/ioport.h> | 32 | #include <linux/ioport.h> |
@@ -393,6 +393,7 @@ MACHINE_START(SIMPAD, "Simpad") | |||
393 | /* Maintainer: Holger Freyther */ | 393 | /* Maintainer: Holger Freyther */ |
394 | .atag_offset = 0x100, | 394 | .atag_offset = 0x100, |
395 | .map_io = simpad_map_io, | 395 | .map_io = simpad_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 | .restart = sa11x0_restart, | 399 | .restart = sa11x0_restart, |