Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1
+1
drivers/of/Kconfig
··· 17 17 18 18 config OF_SELFTEST 19 19 bool "Device Tree Runtime self tests" 20 + depends on OF_IRQ 20 21 help 21 22 This option builds in test cases for the device tree infrastructure 22 23 that are executed one at boot time, and the results dumped to the