of: OF_IRQ should depend on IRQ_DOMAIN

If CONFIG_IRQ_DOMAIN=n:

drivers/of/irq.c: In function ‘of_irq_get’:
drivers/of/irq.c:406: error: implicit declaration of function ‘irq_find_host’
drivers/of/irq.c:406: warning: assignment makes pointer from integer without a cast
make[2]: *** [drivers/of/irq.o] Error 1

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
Geert Uytterhoeven 2015-04-05 16:59:24 +02:00 committed by Rob Herring
parent 01218bf14e
commit 63c60e3a6d

View File

@ -46,7 +46,7 @@ config OF_ADDRESS_PCI
config OF_IRQ
def_bool y
depends on !SPARC
depends on !SPARC && IRQ_DOMAIN
config OF_NET
depends on NETDEVICES