Skip to contentSkip to conversation

ARM: shmobile: marzen: Remove NR_IRQS_LEGACY

PATCH In review Magnus Damm 1 participant 1 message Aug 8, 2014

Subsystems (4)
lore
Share & tools
lore

Magnus Damm

author maintainer
#0 lore raw

PATCH 2/2 ARM: shmobile: marzen: Remove NR_IRQS_LEGACY

From: Magnus Damm <[email protected]>

Remove NR_IRQS_LEGACY from the Marzen Reference code. The Marzen Reference machine vector requires use of Multiplatform, and in such case SPARSE_IRQ is enabled by default. This in turns means that the default value of .nr_irqs equals NR_IRQS and NR_IRQS_LEGACY. Because of this we can simply remove NR_IRQS_LEGACY and move one step closer to a cruft-free environment.

---

Built on top of renesas-devel-v3.16-20140808. Completely untested.

 arch/arm/mach-shmobile/board-marzen-reference.c |    1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-shmobile/board-marzen-reference.c +0 -1
@@ -54,7 +54,6 @@ DT_MACHINE_START(MARZEN, "marzen")
 	.map_io		= r8a7779_map_io,
 	.init_early	= shmobile_init_delay,
 	.init_time	= marzen_init_timer,
-	.nr_irqs	= NR_IRQS_LEGACY,
 	.init_irq	= r8a7779_init_irq_dt,
 	.init_machine	= marzen_init,
 	.init_late	= shmobile_init_late,