MIPS: ralink: add a symbol for INTC
authorJohn Crispin <blogic@openwrt.org>
Mon, 4 Jan 2016 19:23:54 +0000 (20:23 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 19 Jan 2016 23:39:20 +0000 (00:39 +0100)
Some of the newer SoCs use the GIC. This patch splits the INTC out into its
own symbol, allowing us to add the gic code in the following patch.

Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11989/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ralink/Kconfig
arch/mips/ralink/Makefile

index e9bc8c96174e227a8d9cf730bcc4bfb0ff0fb1cf..c578c5d9d0f4900776bf58ec52334b85f0d7e3d3 100644 (file)
@@ -12,6 +12,10 @@ config RALINK_ILL_ACC
        depends on SOC_RT305X
        default y
 
+config IRQ_INTC
+       bool
+       default y
+
 choice
        prompt "Ralink SoC selection"
        default SOC_RT305X
index a6c9d00613269f6a5cbb1d416eb8b8450b9f3a65..06c315f70a212441276ac39edd5f42a14e1b90c0 100644 (file)
@@ -12,6 +12,8 @@ obj-$(CONFIG_CLKEVT_RT3352) += cevt-rt3352.o
 
 obj-$(CONFIG_RALINK_ILL_ACC) += ill_acc.o
 
+obj-$(CONFIG_IRQ_INTC) += irq.o
+
 obj-$(CONFIG_SOC_RT288X) += rt288x.o
 obj-$(CONFIG_SOC_RT305X) += rt305x.o
 obj-$(CONFIG_SOC_RT3883) += rt3883.o