ARM: shmobile: remove NR_IRQS
authorRob Herring <rob.herring@calxeda.com>
Tue, 3 Jan 2012 22:57:33 +0000 (16:57 -0600)
committerRob Herring <rob.herring@calxeda.com>
Thu, 26 Jan 2012 02:37:51 +0000 (20:37 -0600)
Remove NR_IRQS and explicitly include mach/irqs.h as needed. shmobile
properly allocates irq_descs for each irqchip, so setting .nr_irqs for
each machine is not needed.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
19 files changed:
arch/arm/mach-shmobile/board-ag5evm.c
arch/arm/mach-shmobile/board-bonito.c
arch/arm/mach-shmobile/board-g3evm.c
arch/arm/mach-shmobile/board-g4evm.c
arch/arm/mach-shmobile/board-kota2.c
arch/arm/mach-shmobile/board-mackerel.c
arch/arm/mach-shmobile/board-marzen.c
arch/arm/mach-shmobile/include/mach/irqs.h
arch/arm/mach-shmobile/intc-r8a7740.c
arch/arm/mach-shmobile/intc-sh7367.c
arch/arm/mach-shmobile/intc-sh7372.c
arch/arm/mach-shmobile/intc-sh7377.c
arch/arm/mach-shmobile/intc-sh73a0.c
arch/arm/mach-shmobile/setup-r8a7740.c
arch/arm/mach-shmobile/setup-r8a7779.c
arch/arm/mach-shmobile/setup-sh7367.c
arch/arm/mach-shmobile/setup-sh7372.c
arch/arm/mach-shmobile/setup-sh7377.c
arch/arm/mach-shmobile/setup-sh73a0.c

index eff8a96c75ee558298827e5c15a34fbf7af56ae9..e922e92111cd74026d14a9577d932c58eea29754 100644 (file)
@@ -42,6 +42,7 @@
 #include <video/sh_mipi_dsi.h>
 #include <sound/sh_fsi.h>
 #include <mach/hardware.h>
+#include <mach/irqs.h>
 #include <mach/sh73a0.h>
 #include <mach/common.h>
 #include <asm/mach-types.h>
index 4d2201622323114eced0c40af35693fb06d85d95..df9a653824430662d89192673429d9310eac9b5e 100644 (file)
@@ -34,6 +34,7 @@
 #include <asm/mach/time.h>
 #include <asm/hardware/cache-l2x0.h>
 #include <mach/r8a7740.h>
+#include <mach/irqs.h>
 #include <video/sh_mobile_lcdc.h>
 
 /*
index 72d557281b1f1c115fea5fa538c175e8d20748b8..6dbdc428c244b546c962e1bbae866ff579baa546 100644 (file)
@@ -33,6 +33,7 @@
 #include <linux/input.h>
 #include <linux/input/sh_keysc.h>
 #include <linux/dma-mapping.h>
+#include <mach/irqs.h>
 #include <mach/sh7367.h>
 #include <mach/common.h>
 #include <asm/mach-types.h>
index 2220b885cff5731592f1cf6ca3a5a09779795220..2936ccc959504760f2d505de6dbdd8244bab8162 100644 (file)
@@ -34,6 +34,7 @@
 #include <linux/mmc/sh_mobile_sdhi.h>
 #include <linux/gpio.h>
 #include <linux/dma-mapping.h>
+#include <mach/irqs.h>
 #include <mach/sh7377.h>
 #include <mach/common.h>
 #include <asm/mach-types.h>
index 857ceeec1bb0e9975eb589deb82fbde7a9be856a..c71780b2232a93358a5fce75c633e604daf2649f 100644 (file)
@@ -39,6 +39,7 @@
 #include <linux/mfd/tmio.h>
 #include <linux/mmc/sh_mobile_sdhi.h>
 #include <mach/hardware.h>
+#include <mach/irqs.h>
 #include <mach/sh73a0.h>
 #include <mach/common.h>
 #include <asm/mach-types.h>
index 9b42fbd10f8edf2873dbfba0bf6399305c8603db..73f00971d0da40a3bd6cc61366a6cc30c9c4ae5c 100644 (file)
@@ -55,6 +55,7 @@
 #include <sound/sh_fsi.h>
 
 #include <mach/common.h>
+#include <mach/irqs.h>
 #include <mach/sh7372.h>
 
 #include <asm/mach/arch.h>
index f0e02c0ce99f0989261db03739a50a7b9ceeccd6..3b2e88ae26be9ed84ca9fd0501a8b7c4eeb7ba69 100644 (file)
@@ -31,6 +31,7 @@
 #include <mach/hardware.h>
 #include <mach/r8a7779.h>
 #include <mach/common.h>
+#include <mach/irqs.h>
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
index 828807dce5a1d08aff0784fd81c1f4e764ec5899..4e686cc201fc8bacab46ad6aed6c01aac653c42c 100644 (file)
@@ -3,8 +3,6 @@
 
 #include <linux/sh_intc.h>
 
-#define NR_IRQS         1024
-
 /* GIC */
 #define gic_spi(nr)            ((nr) + 32)
 
index 272c84c20c839d5415bc9953c7b234a4f053e676..09c42afcb22dae848551c1306b922866fc78a957 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/io.h>
 #include <linux/sh_intc.h>
 #include <mach/intc.h>
+#include <mach/irqs.h>
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
 
index cfde9bfc36699dec881fa738f2d19aec58075955..5bf776495b7521f43a4cfb71c8021485cda891ff 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/io.h>
 #include <linux/sh_intc.h>
 #include <mach/intc.h>
+#include <mach/irqs.h>
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
 
index 89afcaba99a1a74e132dc1264d249e0099d21944..6447e0af52d412123b222ea94978cc84969c4778 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/io.h>
 #include <linux/sh_intc.h>
 #include <mach/intc.h>
+#include <mach/irqs.h>
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
 
index 2af4e6e9bc5b3a852070367d80ba9e3b3e27c370..b84a460a340577f005d552099b00f4902d6e4a82 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/io.h>
 #include <linux/sh_intc.h>
 #include <mach/intc.h>
+#include <mach/irqs.h>
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
 
index 1eda6b0b69e308d24df75285cf10ba07d1f8e4b3..9a8207c6d31f27901d62b9420081a52ae1f76116 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/io.h>
 #include <linux/sh_intc.h>
 #include <mach/intc.h>
+#include <mach/irqs.h>
 #include <mach/sh73a0.h>
 #include <asm/hardware/gic.h>
 #include <asm/mach-types.h>
index 986dca6b3fad8f384ada7c5a115b50e55ba2301a..fa15d81267ef643be3e9bc7a61665a69a8ae5748 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/serial_sci.h>
 #include <linux/sh_timer.h>
 #include <mach/r8a7740.h>
+#include <mach/irqs.h>
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
 
index 4725663bd032ffed23fe97bbb75d88437a202eec..55df21add2d43979d334c8f0ebf99f9395113182 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/sh_intc.h>
 #include <linux/sh_timer.h>
 #include <mach/hardware.h>
+#include <mach/irqs.h>
 #include <mach/r8a7779.h>
 #include <mach/common.h>
 #include <asm/mach-types.h>
index e546017f15dea1202df2be20fa6303b69d70f1f4..8e84819833a8158ad4814574a332951e7af60357 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/serial_sci.h>
 #include <linux/sh_timer.h>
 #include <mach/hardware.h>
+#include <mach/irqs.h>
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
 
index 6fcf304d3cdf53869f4d7b64d701e4d5e92345ce..420d25c0d742fe0f38d9e245acd5fb0a1204ff92 100644 (file)
@@ -32,6 +32,7 @@
 #include <linux/sh_timer.h>
 #include <linux/pm_domain.h>
 #include <mach/hardware.h>
+#include <mach/irqs.h>
 #include <mach/sh7372.h>
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
index bb405b8e459be00c11ce956c0e67bf9e181557f2..747ed8ef84ef04866e1b745c6654e5a11f5a7055 100644 (file)
@@ -30,6 +30,7 @@
 #include <linux/sh_intc.h>
 #include <linux/sh_timer.h>
 #include <mach/hardware.h>
+#include <mach/irqs.h>
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
 
index 20e71e5cace4723dabc8276f47d3e1cfef8daf64..7bf740e29a3a5dc49faf4ad6791ff4c5de8c7734 100644 (file)
@@ -31,6 +31,7 @@
 #include <linux/sh_intc.h>
 #include <linux/sh_timer.h>
 #include <mach/hardware.h>
+#include <mach/irqs.h>
 #include <mach/sh73a0.h>
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>