Commit 63c60e3a authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Rob Herring

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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 01218bf1
...@@ -46,7 +46,7 @@ config OF_ADDRESS_PCI ...@@ -46,7 +46,7 @@ config OF_ADDRESS_PCI
config OF_IRQ config OF_IRQ
def_bool y def_bool y
depends on !SPARC depends on !SPARC && IRQ_DOMAIN
config OF_NET config OF_NET
depends on NETDEVICES depends on NETDEVICES
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment