Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63c60e3a authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Rob Herring
Browse files

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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 01218bf1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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