dt: disable self-tests for !OF_IRQ
authorRob Herring <rob.herring@calxeda.com>
Thu, 7 Nov 2013 17:54:27 +0000 (11:54 -0600)
committerRob Herring <rob.herring@calxeda.com>
Fri, 8 Nov 2013 16:47:05 +0000 (10:47 -0600)
commitf5ae18ece391c3bbf03bb1edc5fdcf23dc8b7e54
tree7b9027fb3ba032dacbf4acc21c2c34dc2532645d
parent74dac2ed699cbe1dee0e4e7891619d53a5f2632f
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>
drivers/of/Kconfig