diff options
author | Paul Burton | 2015-05-24 17:11:19 +0200 |
---|---|---|
committer | Ralf Baechle | 2015-06-21 21:52:56 +0200 |
commit | 0e81db8f5b1abd7245e13b585458ea2fb9826bdd (patch) | |
tree | 3431b1ff7ff9b04a3fc26c46f174200401b61add /arch/mips/jz4740/irq.c | |
parent | MIPS: JZ4740: use generic plat_irq_dispatch (diff) | |
download | kernel-qcow2-linux-0e81db8f5b1abd7245e13b585458ea2fb9826bdd.tar.gz kernel-qcow2-linux-0e81db8f5b1abd7245e13b585458ea2fb9826bdd.tar.xz kernel-qcow2-linux-0e81db8f5b1abd7245e13b585458ea2fb9826bdd.zip |
MIPS: JZ4740: Move arch_init_irq out of arch/mips/jz4740/irq.c
In preparation for moving the JZ4740 interrupt controller driver to
drivers/irqchip, move arch_init_irq into setup.c such that everything
remaining in irq.c is related to said JZ4740 interrupt controller.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: Brian Norris <computersforpeace@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/10136/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/jz4740/irq.c')
-rw-r--r-- | arch/mips/jz4740/irq.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/mips/jz4740/irq.c b/arch/mips/jz4740/irq.c index a2452bb80e1d..bac1f52d327f 100644 --- a/arch/mips/jz4740/irq.c +++ b/arch/mips/jz4740/irq.c @@ -18,7 +18,6 @@ #include <linux/types.h> #include <linux/interrupt.h> #include <linux/ioport.h> -#include <linux/irqchip.h> #include <linux/timex.h> #include <linux/slab.h> #include <linux/delay.h> @@ -78,13 +77,11 @@ static struct irqaction jz4740_cascade_action = { .name = "JZ4740 cascade interrupt", }; -void __init arch_init_irq(void) +void __init jz4740_intc_init(void) { struct irq_chip_generic *gc; struct irq_chip_type *ct; - irqchip_init(); - jz_intc_base = ioremap(JZ4740_INTC_BASE_ADDR, 0x14); /* Mask all irqs */ |