From: Gaurav Minocha Date: Sun, 11 Jan 2015 07:19:51 +0000 (-0800) Subject: Removes OF_UNITTEST dependency on OF_DYNAMIC config symbol X-Git-Tag: fixes-v4.0-rc1~124^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ce04b4a9;p=pandora-kernel.git Removes OF_UNITTEST dependency on OF_DYNAMIC config symbol This patch intends to remove the unittests dependency on the functions defined in dynamic.c. So, rather than calling of_attach_node defined in dynamic.c, minimal functionality required to attach a new node is re-defined in unittest.c. Also, now after executing the tests the test data is not removed from the device tree so there is no need to call of_detach_node. Tested with and without OF_DYNAMIC enabled on ppc, arm and x86 Signed-off-by: Gaurav Minocha Signed-off-by: Rob Herring --- Reading git-diff-tree failed