提交 63c60e3a 编写于 作者: G Geert Uytterhoeven 提交者: 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: NGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: NRob Herring <robh@kernel.org>
上级 01218bf1
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册