summaryrefslogtreecommitdiffstats
path: root/arch/mips/xilfpga/intc.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/xilfpga/intc.c')
-rw-r--r--arch/mips/xilfpga/intc.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/mips/xilfpga/intc.c b/arch/mips/xilfpga/intc.c
index c4d1a716b347..a127cca3ae8c 100644
--- a/arch/mips/xilfpga/intc.c
+++ b/arch/mips/xilfpga/intc.c
@@ -11,15 +11,12 @@
#include <linux/of.h>
#include <linux/of_irq.h>
+#include <linux/irqchip.h>
#include <asm/irq_cpu.h>
-static struct of_device_id of_irq_ids[] __initdata = {
- { .compatible = "mti,cpu-interrupt-controller", .data = mips_cpu_irq_of_init },
- {},
-};
void __init arch_init_irq(void)
{
- of_irq_init(of_irq_ids);
+ irqchip_init();
}