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>
This commit is contained in:

committed by
Russell King

parent
3638dd2b45
commit
f314f33be7
@@ -18,7 +18,6 @@
|
||||
#include <linux/mtd/mtd.h>
|
||||
#include <linux/mtd/partitions.h>
|
||||
|
||||
#include <asm/irq.h>
|
||||
#include <mach/hardware.h>
|
||||
#include <asm/setup.h>
|
||||
|
||||
@@ -30,6 +29,7 @@
|
||||
|
||||
#include <mach/cerf.h>
|
||||
#include <mach/mcp.h>
|
||||
#include <mach/irqs.h>
|
||||
#include "generic.h"
|
||||
|
||||
static struct resource cerfuart2_resources[] = {
|
||||
@@ -130,6 +130,7 @@ static void __init cerf_init(void)
|
||||
MACHINE_START(CERF, "Intrinsyc CerfBoard/CerfCube")
|
||||
/* Maintainer: support@intrinsyc.com */
|
||||
.map_io = cerf_map_io,
|
||||
.nr_irqs = SA1100_NR_IRQS,
|
||||
.init_irq = cerf_init_irq,
|
||||
.timer = &sa1100_timer,
|
||||
.init_machine = cerf_init,
|
||||
|
Reference in New Issue
Block a user