diff options
author | Magnus Damm <damm+renesas@opensource.se> | 2014-08-08 13:49:04 +0200 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-08-20 02:09:23 +0200 |
commit | 93f05252514a8c7b6bf5a132f6b20f10215cb59c (patch) | |
tree | 790ec134f957fde638b620517fc59d42c58c8ecb | |
parent | ARM: shmobile: dma: Use defines instead of hardcoded numbers (diff) | |
download | linux-93f05252514a8c7b6bf5a132f6b20f10215cb59c.tar.xz linux-93f05252514a8c7b6bf5a132f6b20f10215cb59c.zip |
ARM: shmobile: r8a7779: Remove NR_IRQS_LEGACY
Remove NR_IRQS_LEGACY from the r8a7779 generic machine
vector. The generic r8a7779 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.
Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r-- | arch/arm/mach-shmobile/setup-r8a7779.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/setup-r8a7779.c b/arch/arm/mach-shmobile/setup-r8a7779.c index 6875a9fe28c2..6829cd19ea72 100644 --- a/arch/arm/mach-shmobile/setup-r8a7779.c +++ b/arch/arm/mach-shmobile/setup-r8a7779.c @@ -771,7 +771,6 @@ static const char *r8a7779_compat_dt[] __initdata = { DT_MACHINE_START(R8A7779_DT, "Generic R8A7779 (Flattened Device Tree)") .map_io = r8a7779_map_io, .init_early = shmobile_init_delay, - .nr_irqs = NR_IRQS_LEGACY, .init_irq = r8a7779_init_irq_dt, .init_machine = r8a7779_add_standard_devices_dt, .init_late = shmobile_init_late, |