mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] dt: disable self-tests for !OF_IRQ
@ 2013-11-07 18:15 Rob Herring
  2013-11-07 18:15 ` [PATCH 2/2] dt/irq: add empty of_irq_count " Rob Herring
  2013-11-08 14:09 ` [PATCH 1/2] dt: disable self-tests " Grant Likely
  0 siblings, 2 replies; 3+ messages in thread
From: Rob Herring @ 2013-11-07 18:15 UTC (permalink / raw)
  To: linux-kernel, devicetree; +Cc: Grant Likely, davem, Rob Herring

From: Rob Herring <rob.herring@calxeda.com>

Fix OF selftest compile on sparc which does not enable OF_IRQ.

drivers/of/selftest.c:177: undefined reference to `of_irq_parse_one'
drivers/of/selftest.c:197: undefined reference to `of_irq_parse_one'
drivers/of/selftest.c:248: undefined reference to `of_irq_parse_one'

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
---
 drivers/of/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
index 9d2009a..9b28f8b 100644
--- a/drivers/of/Kconfig
+++ b/drivers/of/Kconfig
@@ -17,6 +17,7 @@ config PROC_DEVICETREE
 
 config OF_SELFTEST
 	bool "Device Tree Runtime self tests"
+	depends on OF_IRQ
 	help
 	  This option builds in test cases for the device tree infrastructure
 	  that are executed one at boot time, and the results dumped to the
-- 
1.8.1.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-11-08 14:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-07 18:15 [PATCH 1/2] dt: disable self-tests for !OF_IRQ Rob Herring
2013-11-07 18:15 ` [PATCH 2/2] dt/irq: add empty of_irq_count " Rob Herring
2013-11-08 14:09 ` [PATCH 1/2] dt: disable self-tests " Grant Likely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome