From: Geert Uytterhoeven Date: Sun, 5 Apr 2015 14:59:24 +0000 (+0200) Subject: of: OF_IRQ should depend on IRQ_DOMAIN X-Git-Tag: firefly_0821_release~176^2~1868^2~15 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=63c60e3a6dc3eca53714e8a1784c985a552bc5cd;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Rob Herring --- diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig index 7bcaeec876c0..0638efd15fdd 100644 --- a/drivers/of/Kconfig +++ b/drivers/of/Kconfig @@ -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