提交 f5ae18ec 编写于 作者: R Rob Herring

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: NRob Herring <rob.herring@calxeda.com>
Acked-by: NGrant Likely <grant.likely@linaro.org>
上级 74dac2ed
...@@ -17,6 +17,7 @@ config PROC_DEVICETREE ...@@ -17,6 +17,7 @@ config PROC_DEVICETREE
config OF_SELFTEST config OF_SELFTEST
bool "Device Tree Runtime self tests" bool "Device Tree Runtime self tests"
depends on OF_IRQ
help help
This option builds in test cases for the device tree infrastructure This option builds in test cases for the device tree infrastructure
that are executed one at boot time, and the results dumped to the that are executed one at boot time, and the results dumped to the
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册