]> asedeno.scripts.mit.edu Git - linux.git/commit
of: fdt: mark unflattened tree as detached
authorMichal Suchanek <hramrach@gmail.com>
Mon, 18 Jul 2016 22:01:12 +0000 (00:01 +0200)
committerRob Herring <robh@kernel.org>
Mon, 18 Jul 2016 22:27:04 +0000 (17:27 -0500)
commit1d1bde550ea3b08a95bd9b6b3adb6d7cd3781870
tree819c9f8d12c770d8da96463aa9096289979002fe
parent5de3bbc8501b637eb753e4ee18a2cccb233cfe41
of: fdt: mark unflattened tree as detached

The tree returned from of_fdt_unflatten_tree cannot be attached to the
live tree because it is not marked as detached so mark it as such. The
dt resolver checks the flag and refuses to process the tree otherwise.

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/fdt.c