[PATCH 3/9] of/base.c: export property access/modification functions

Stephen Neuendorffer stephen.neuendorffer at xilinx.com
Sat Jul 24 06:57:37 EST 2010


These functions can be usefully used by device drivers.

Signed-off-by: Stephen Neuendorffer <stephen.neuendorffer at xilinx.com>
---
 drivers/of/base.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/of/base.c b/drivers/of/base.c
index e3f7af8..9ee27f6 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -763,6 +763,7 @@ int prom_add_property(struct device_node *np, struct property *prop)
 
 	return 0;
 }
+EXPORT_SYMBOL(prom_add_property);
 
 /**
  * prom_remove_property - Remove a property from a node.
@@ -804,6 +805,7 @@ int prom_remove_property(struct device_node *np, struct property *prop)
 
 	return 0;
 }
+EXPORT_SYMBOL(prom_remove_property);
 
 /*
  * prom_update_property - Update a property in a node.
@@ -848,6 +850,7 @@ int prom_update_property(struct device_node *np,
 
 	return 0;
 }
+EXPORT_SYMBOL(prom_update_property);
 
 #if defined(CONFIG_OF_DYNAMIC)
 /*
-- 
1.5.6.6



This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.




More information about the devicetree-discuss mailing list