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)
committerGrant Likely <grant.likely@linaro.org>
Mon, 7 Jul 2014 12:59:45 +0000 (13:59 +0100)
commit6afc0dc381573559251de9a8259404f49e6aed14
treeae2e323b3556a08aa1756f604770d94c963e4303
parentc05aba2bd5f9dd3f363611ff844513de1341ac60
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>
drivers/of/Makefile
drivers/of/base.c
drivers/of/dynamic.c [new file with mode: 0644]
drivers/of/of_private.h