diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2015-04-05 10:59:24 -0400 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2015-04-14 20:22:09 -0400 |
commit | 63c60e3a6dc3eca53714e8a1784c985a552bc5cd (patch) | |
tree | 2f681ea5d20dff47ad71aa95f7c15c3758b09b80 /drivers/of | |
parent | 01218bf14ee60d4a2d6c667ebdbba3ae9a7a1d66 (diff) |
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/Kconfig | 2 |
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 | |||
46 | 46 | ||
47 | config OF_IRQ | 47 | config OF_IRQ |
48 | def_bool y | 48 | def_bool y |
49 | depends on !SPARC | 49 | depends on !SPARC && IRQ_DOMAIN |
50 | 50 | ||
51 | config OF_NET | 51 | config OF_NET |
52 | depends on NETDEVICES | 52 | depends on NETDEVICES |