diff options
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2015-11-05 00:12:49 +1100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2016-01-13 16:10:37 -0600 |
commit | 183223770ae8625df8966ed15811d1b3ee8720aa (patch) | |
tree | a7f994ffd55b80d765ac01283d7f5412fdd5d383 /drivers/of/of_private.h | |
parent | dc17340e3041511850ff6ec7299551284d6c0eb1 (diff) | |
download | linux-183223770ae8625df8966ed15811d1b3ee8720aa.tar.bz2 |
drivers/of: Export OF changeset functions
The PowerNV PCI hotplug driver is going to use the OF changeset
to manage the changed device sub-tree. This exports those OF
changeset functions for that.
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/of_private.h')
-rw-r--r-- | drivers/of/of_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/of/of_private.h b/drivers/of/of_private.h index 8e882e706cd8..829469faeb23 100644 --- a/drivers/of/of_private.h +++ b/drivers/of/of_private.h @@ -45,6 +45,8 @@ static inline struct device_node *kobj_to_device_node(struct kobject *kobj) extern int of_property_notify(int action, struct device_node *np, struct property *prop, struct property *old_prop); extern void of_node_release(struct kobject *kobj); +extern int __of_changeset_apply(struct of_changeset *ocs); +extern int __of_changeset_revert(struct of_changeset *ocs); #else /* CONFIG_OF_DYNAMIC */ static inline int of_property_notify(int action, struct device_node *np, struct property *prop, struct property *old_prop) |