]> git.baikalelectronics.ru Git - kernel.git/commit
Enabling OF selftest to run without machine's devicetree
authorGaurav Minocha <gaurav.minocha.os@gmail.com>
Sat, 26 Jul 2014 19:48:50 +0000 (12:48 -0700)
committerGrant Likely <grant.likely@linaro.org>
Sat, 16 Aug 2014 08:03:56 +0000 (09:03 +0100)
commitc63f640cd29f25ad1fa19c50c70de020bd660d25
tree37d9228f1f0ce5fda9078992e69e22587b42a6b2
parent5789731a14df489d3a031806dc36931657340005
Enabling OF selftest to run without machine's devicetree

If there is no devicetree present, this patch adds the selftest
data as a live devicetree. It also removes the same after the
testcase execution is complete.

Tested with and without machine's devicetree.

Signed-off-by: Gaurav Minocha <gaurav.minocha.os@gmail.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
drivers/of/selftest.c