summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-cns3xxx/cns3420vb.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-03-14 17:30:53 +0100
committerArnd Bergmann <arnd@arndb.de>2013-03-14 17:34:56 +0100
commit2f72a682f79d4eb2d96364d1a9abb7bd16c47afb (patch)
tree1586695083b3b8bcb2c42e9c2440eda84be7a3f1 /arch/arm/mach-cns3xxx/cns3420vb.c
parent3f9fb2a08f55c79b4c6cde423c1e8ddcc5a49781 (diff)
downloadop-kernel-dev-2f72a682f79d4eb2d96364d1a9abb7bd16c47afb.zip
op-kernel-dev-2f72a682f79d4eb2d96364d1a9abb7bd16c47afb.tar.gz
ARM: cns3xxx: enable sparse IRQ support
This trivially enables sparse IRQ on cns3xxx by moving the nr_irqs definition from mach/irqs.h into the machine descriptor. These interrupts will still get statically assigned, so nothing changes here. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-cns3xxx/cns3420vb.c')
-rw-r--r--arch/arm/mach-cns3xxx/cns3420vb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-cns3xxx/cns3420vb.c b/arch/arm/mach-cns3xxx/cns3420vb.c
index d863d87..ce096d6 100644
--- a/arch/arm/mach-cns3xxx/cns3420vb.c
+++ b/arch/arm/mach-cns3xxx/cns3420vb.c
@@ -246,6 +246,7 @@ static void __init cns3420_map_io(void)
MACHINE_START(CNS3420VB, "Cavium Networks CNS3420 Validation Board")
.atag_offset = 0x100,
+ .nr_irqs = NR_IRQS_CNS3XXX,
.map_io = cns3420_map_io,
.init_irq = cns3xxx_init_irq,
.init_time = cns3xxx_timer_init,
OpenPOWER on IntegriCloud