ARM: plat-versatile: use simple irqdomain for FPGA IRQ
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 26 Oct 2012 23:05:06 +0000 (01:05 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 26 Oct 2012 23:05:06 +0000 (01:05 +0200)
commit3a6ca8c5c9e310d26fe090ac7c777c269661f0e6
tree0e61e6fa28b7a22e1fdc47100bc5a8207cbeb5ca
parent6f0c0580b70c89094b3422ba81118c7b959c7556
ARM: plat-versatile: use simple irqdomain for FPGA IRQ

This switches the FPGA IRQ driver over to using the simple IRQ
domain. We can then use the same codepath for this in the
DT and non-DT cases.

To be able to use quicker irq_find_mapping() in the handlers
we first call irq_create_mapping() on all the valid HW IRQ
numbers so that descriptors will be created for them in the
DT case where a linear domain will be the outcome of the
call.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/plat-versatile/fpga-irq.c