diff options
author | Nathan Fontenot <nfont@austin.ibm.com> | 2010-09-10 09:40:32 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-10-13 16:19:02 +1100 |
commit | 206489748b64510d655e5c99193426667463dd15 (patch) | |
tree | 97fbf51691618e45b9a28d6a9551d3f5b9a94c1c /arch/powerpc/platforms/pseries/dlpar.c | |
parent | 4783f393de3077211c14675a0e57c8a02e9190b0 (diff) | |
download | kernel_samsung_espresso10-206489748b64510d655e5c99193426667463dd15.zip kernel_samsung_espresso10-206489748b64510d655e5c99193426667463dd15.tar.gz kernel_samsung_espresso10-206489748b64510d655e5c99193426667463dd15.tar.bz2 |
powerpc/pseries: Export device tree updating routines
Export routines associated with adding and removing device tree nodes on
pseries needed for device tree updating.
Signed-off-by: Nathan Fontenot <nfont@austin.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/pseries/dlpar.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/dlpar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/pseries/dlpar.c b/arch/powerpc/platforms/pseries/dlpar.c index 72d8054..75d336a 100644 --- a/arch/powerpc/platforms/pseries/dlpar.c +++ b/arch/powerpc/platforms/pseries/dlpar.c @@ -33,7 +33,7 @@ struct cc_workarea { u32 prop_offset; }; -static void dlpar_free_cc_property(struct property *prop) +void dlpar_free_cc_property(struct property *prop) { kfree(prop->name); kfree(prop->value); @@ -102,7 +102,7 @@ static void dlpar_free_one_cc_node(struct device_node *dn) kfree(dn); } -static void dlpar_free_cc_nodes(struct device_node *dn) +void dlpar_free_cc_nodes(struct device_node *dn) { if (dn->child) dlpar_free_cc_nodes(dn->child); |