summaryrefslogtreecommitdiffstats
path: root/drivers/of
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-14 19:22:09 -0500
commit63c60e3a6dc3eca53714e8a1784c985a552bc5cd (patch)
tree2f681ea5d20dff47ad71aa95f7c15c3758b09b80 /drivers/of
parent01218bf14ee60d4a2d6c667ebdbba3ae9a7a1d66 (diff)
downloadop-kernel-dev-63c60e3a6dc3eca53714e8a1784c985a552bc5cd.zip
op-kernel-dev-63c60e3a6dc3eca53714e8a1784c985a552bc5cd.tar.gz
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')
-rw-r--r--drivers/of/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
index 7bcaeec..0638efd 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
OpenPOWER on IntegriCloud