diff options
author | Gaurav Minocha <gaurav.minocha.os@gmail.com> | 2015-01-11 08:19:51 +0100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2015-01-13 20:58:02 +0100 |
commit | 3ce04b4a9fdc30b6ec651e477dd08fee4e48f9aa (patch) | |
tree | f865fb235fc96de0780c2cc3c6dc888d6abadbc1 /drivers/of/Kconfig | |
parent | pinctrl: fix up device tree bindings (diff) | |
download | linux-3ce04b4a9fdc30b6ec651e477dd08fee4e48f9aa.tar.xz linux-3ce04b4a9fdc30b6ec651e477dd08fee4e48f9aa.zip |
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 <gaurav.minocha.os@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/Kconfig')
-rw-r--r-- | drivers/of/Kconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig index b5e0c873d4e1..38d1c51f58b1 100644 --- a/drivers/of/Kconfig +++ b/drivers/of/Kconfig @@ -10,7 +10,6 @@ menu "Device Tree and Open Firmware support" config OF_UNITTEST bool "Device Tree runtime unit tests" depends on OF_IRQ && OF_EARLY_FLATTREE - select OF_DYNAMIC select OF_RESOLVE help This option builds in test cases for the device tree infrastructure |