irqchip: versatile-fpga: Add IRQCHIP_DECLARE support
authorRob Herring <robh@kernel.org>
Thu, 29 May 2014 21:39:43 +0000 (16:39 -0500)
committerRob Herring <robh@kernel.org>
Tue, 24 Jun 2014 19:15:58 +0000 (14:15 -0500)
commit2920bc9abedf87451e9ba2695a4c418c567046b6
treec5115b0a519cf52a2ae42f5c317095549b65df3e
parent0ba6c5d26a31789fc89ebadccd8d3604e0994a51
irqchip: versatile-fpga: Add IRQCHIP_DECLARE support

Add support for initialization using IRQCHIP_DECLARE. This also requires
that the controller initialization set the handle_irq function pointer
itself when it is a primary controller.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Cooper <jason@lakedaemon.net>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
drivers/irqchip/irq-versatile-fpga.c