of: Move CONFIG_OF_DYNAMIC code into a separate file
authorGrant Likely <grant.likely@linaro.org>
Thu, 26 Jun 2014 14:40:48 +0000 (15:40 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 16 Feb 2015 04:51:28 +0000 (13:51 +0900)
commit5078857c32c8c26d01642d69420c64230ff515c5
tree73707bc470bb64637ef63906ce37529a0c4b2d2f
parentb49b162df89fdd30b604c3db14ad7935208297a8
of: Move CONFIG_OF_DYNAMIC code into a separate file

Split the dynamic device tree code into a separate file to make it
really clear what features CONFIF_OF_DYNAMIC add to the kernel. Without
CONFIG_OF_DYNAMIC only properties can be changed, and notifiers do not
get sent. Enabling it turns on reference counting, notifiers and the
ability to add and remove nodes.

v2: Moved of_node_release() into dynamic.c

Signed-off-by: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Cc: Rob Herring <robh+dt@kernel.org>
(cherry picked from commit 6afc0dc381573559251de9a8259404f49e6aed14)
Signed-off-by: Mark Brown <broonie@kernel.org>
Conflicts:
drivers/of/Makefile
drivers/of/base.c
drivers/of/Makefile
drivers/of/base.c
drivers/of/dynamic.c [new file with mode: 0644]
drivers/of/of_private.h