irqchip: spear_shirq: Use proper irq chips for the different SoCs
authorThomas Gleixner <tglx@linutronix.de>
Thu, 19 Jun 2014 21:34:43 +0000 (21:34 +0000)
committerJason Cooper <jason@lakedaemon.net>
Tue, 24 Jun 2014 12:38:35 +0000 (12:38 +0000)
commitf07e42f96f06dca3f9f897b956d83aec165ee693
tree60c37edb4983083d92dc0bf2d002813755272af1
parentfe64ac89cf8f5067cf7f6757b6cd9fd77c527bdf
irqchip: spear_shirq: Use proper irq chips for the different SoCs

Only spear300 has an actual mask register for the RAS interrupts. Add
an irq chip pointer to the shirq struct and initialize spear300 with
the actual implementation and the others with dummy_irq_chip. The
disabled RAS3 block has no irq chip assigned, so we can check for this
and remove the disabled member.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20140619212713.831341023@linutronix.de
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/spear-shirq.c