aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/of
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2013-11-07 12:54:27 -0500
committerRob Herring <rob.herring@calxeda.com>2013-11-08 11:47:05 -0500
commitf5ae18ece391c3bbf03bb1edc5fdcf23dc8b7e54 (patch)
tree7b9027fb3ba032dacbf4acc21c2c34dc2532645d /drivers/of
parent74dac2ed699cbe1dee0e4e7891619d53a5f2632f (diff)
dt: disable self-tests for !OF_IRQ
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> Acked-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'drivers/of')
-rw-r--r--drivers/of/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
index 9d2009a9004d..9b28f8b0c3c2 100644
--- a/drivers/of/Kconfig
+++ b/drivers/of/Kconfig
@@ -17,6 +17,7 @@ config PROC_DEVICETREE
17 17
18config OF_SELFTEST 18config OF_SELFTEST
19 bool "Device Tree Runtime self tests" 19 bool "Device Tree Runtime self tests"
20 depends on OF_IRQ
20 help 21 help
21 This option builds in test cases for the device tree infrastructure 22 This option builds in test cases for the device tree infrastructure
22 that are executed one at boot time, and the results dumped to the 23 that are executed one at boot time, and the results dumped to the