MIPS: JZ4740: Remove jz_intc_base global
authorPaul Burton <paul.burton@imgtec.com>
Sun, 24 May 2015 15:11:25 +0000 (16:11 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 21 Jun 2015 19:53:02 +0000 (21:53 +0200)
commitfe778ece8e252257e96d3b408b846ff8f5d5458d
treead4f21945dea287dd9b68ad3790c52ec803248c5
parent2aabd281d6c539d738da883b17eb5da25223c2f8
MIPS: JZ4740: Remove jz_intc_base global

Avoid the need for the global variable jz_intc_base by introducing a
struct ingenic_intc_data and passing it around as the IRQ handler data.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Cooper <jason@lakedaemon.net>
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/10144/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/jz4740/irq.c