Skip to content

Commit

Permalink
dt: disable self-tests for !OF_IRQ
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rob Herring committed Nov 8, 2013
1 parent 74dac2e commit f5ae18e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/of/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f5ae18e

Please sign in to comment.