diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-04-02 20:54:01 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-12 13:55:17 -0400 |
commit | 0e56efc7dcd1eb5004363e52bdbe801783245638 (patch) | |
tree | 22b3f52d1ccc18d0e820ed69412a8054e20798d1 /include/asm-powerpc/prom.h | |
parent | a7edd0e676d51145ae634a2acf7a447e319200fa (diff) |
[POWERPC] Rename get_property to of_get_property
This is more consistent and gets us closer to the Sparc code.
We add a get_property define for compatibility during the change over.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/prom.h')
-rw-r--r-- | include/asm-powerpc/prom.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-powerpc/prom.h b/include/asm-powerpc/prom.h index 994de8ea330..448c5ce76fb 100644 --- a/include/asm-powerpc/prom.h +++ b/include/asm-powerpc/prom.h | |||
@@ -165,9 +165,10 @@ extern void early_init_devtree(void *); | |||
165 | extern int device_is_compatible(const struct device_node *device, | 165 | extern int device_is_compatible(const struct device_node *device, |
166 | const char *); | 166 | const char *); |
167 | extern int machine_is_compatible(const char *compat); | 167 | extern int machine_is_compatible(const char *compat); |
168 | extern const void *get_property(const struct device_node *node, | 168 | extern const void *of_get_property(const struct device_node *node, |
169 | const char *name, | 169 | const char *name, |
170 | int *lenp); | 170 | int *lenp); |
171 | #define get_property(a, b, c) of_get_property((a), (b), (c)) | ||
171 | extern void print_properties(struct device_node *node); | 172 | extern void print_properties(struct device_node *node); |
172 | extern int prom_n_addr_cells(struct device_node* np); | 173 | extern int prom_n_addr_cells(struct device_node* np); |
173 | extern int prom_n_size_cells(struct device_node* np); | 174 | extern int prom_n_size_cells(struct device_node* np); |