summaryrefslogtreecommitdiffstats
path: root/drivers/of/Kconfig
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2015-04-05 16:59:24 +0200
committerRob Herring <robh@kernel.org>2015-04-15 02:22:09 +0200
commit63c60e3a6dc3eca53714e8a1784c985a552bc5cd (patch)
tree2f681ea5d20dff47ad71aa95f7c15c3758b09b80 /drivers/of/Kconfig
parentof: Explicitly include linux/types.h in of_graph.h (diff)
downloadlinux-63c60e3a6dc3eca53714e8a1784c985a552bc5cd.tar.xz
linux-63c60e3a6dc3eca53714e8a1784c985a552bc5cd.zip
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>
Diffstat (limited to 'drivers/of/Kconfig')
-rw-r--r--drivers/of/Kconfig2
1 files changed, 1 insertions, 1 deletions
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