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:
parent
01218bf14e
commit
63c60e3a6d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue