]> git.karo-electronics.de Git - linux-beck.git/commit
mfd/db8500-prcmu: use the irq_domain_add_simple()
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 18 Oct 2012 16:22:11 +0000 (18:22 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 5 Nov 2012 08:55:34 +0000 (09:55 +0100)
commita7238e432539d25726883ed3ee48cd46b5a8fa56
treef3a334b87654f94b85fa4e4c4d4fd40c9bbc3b41
parentf1d11f394f6e3fc0368e72244fb5ddc4142e804b
mfd/db8500-prcmu: use the irq_domain_add_simple()

To be able to use SPARSE_IRQ while yet not using device tree,
we need to use irq_domain_add_simple() that will allocate
descriptors for the IRQs in the non-DT case, and fall back
to using the linear irqdomain in the DT case.

Cc: Lee Jones <lee.jones@linaro.org>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/mfd/db8500-prcmu.c