From: Rob Herring Date: Thu, 7 Nov 2013 17:54:27 +0000 (-0600) Subject: dt: disable self-tests for !OF_IRQ X-Git-Tag: MMI-PSA29.97-13-9~13311^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f5ae18ece391c3bbf03bb1edc5fdcf23dc8b7e54;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Acked-by: Grant Likely --- 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 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