[PATCH] [SPARC/64] Remove get_property

Stephen Rothwell sfr at canb.auug.org.au
Tue Apr 3 23:05:05 EST 2007


All the usages have been renamed to of_get_property.

Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
---
 include/asm-sparc/prom.h   |    1 -
 include/asm-sparc64/prom.h |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

Hi Dave,

If you take the curent powerpc tree (commit
1b56c1da9eec35c610fa2168d754ce567615a6ee) and apply all the patches I
sent today (1-6 then 1-17) then merge that with your current for-2.6.22
tree (commit ab571e3091f055b0f8648822e11ee6413993f899), then you can
apply this.  :-)

I did a test sparc64 allmodconfig build (and it get as far as can be
expected :-))

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au

diff --git a/include/asm-sparc/prom.h b/include/asm-sparc/prom.h
index 39ad222..030461d 100644
--- a/include/asm-sparc/prom.h
+++ b/include/asm-sparc/prom.h
@@ -93,7 +93,6 @@ extern int of_device_is_compatible(const struct device_node *device,
 extern const void *of_get_property(const struct device_node *node,
 				   const char *name,
 				   int *lenp);
-#define get_property(node,name,lenp) of_get_property(node,name,lenp)
 extern int of_set_property(struct device_node *node, const char *name, void *val, int len);
 extern int of_getintprop_default(struct device_node *np,
 				 const char *name,
diff --git a/include/asm-sparc64/prom.h b/include/asm-sparc64/prom.h
index 6394bd1..dd0a6cd 100644
--- a/include/asm-sparc64/prom.h
+++ b/include/asm-sparc64/prom.h
@@ -101,7 +101,6 @@ extern int of_device_is_compatible(const struct device_node *device,
 extern const void *of_get_property(const struct device_node *node,
 			     const char *name,
 			     int *lenp);
-#define get_property(node,name,lenp) of_get_property(node,name,lenp)
 extern int of_set_property(struct device_node *node, const char *name, void *val, int len);
 extern int of_getintprop_default(struct device_node *np,
 				 const char *name,
-- 
1.5.0.3




More information about the Linuxppc-dev mailing list