diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2006-06-29 06:28:18 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-07-02 18:56:33 -0400 |
commit | a1af5b2fd49eb24ab8c024da5d853b09841d1f8f (patch) | |
tree | a475482232e15282a2d212bbe9ccc10ac5d06234 /include/asm-powerpc | |
parent | 4ebd9ab387b39c44165cd296a6637082a4f0f66a (diff) |
[POWERPC] change get_property to return void *
Change the get_property() function to return a void *. This allows us
to later remove the cast done in the majority of callers.
Built for pseries, iseries, pmac32, cell, cbesim, g5, systemsim, maple,
and mpc* defconfigs
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r-- | include/asm-powerpc/prom.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-powerpc/prom.h b/include/asm-powerpc/prom.h index 010d186d095b..b0768f474809 100644 --- a/include/asm-powerpc/prom.h +++ b/include/asm-powerpc/prom.h | |||
@@ -167,8 +167,8 @@ extern void unflatten_device_tree(void); | |||
167 | extern void early_init_devtree(void *); | 167 | extern void early_init_devtree(void *); |
168 | extern int device_is_compatible(struct device_node *device, const char *); | 168 | extern int device_is_compatible(struct device_node *device, const char *); |
169 | extern int machine_is_compatible(const char *compat); | 169 | extern int machine_is_compatible(const char *compat); |
170 | extern unsigned char *get_property(struct device_node *node, const char *name, | 170 | extern void *get_property(struct device_node *node, const char *name, |
171 | int *lenp); | 171 | int *lenp); |
172 | extern void print_properties(struct device_node *node); | 172 | extern void print_properties(struct device_node *node); |
173 | extern int prom_n_addr_cells(struct device_node* np); | 173 | extern int prom_n_addr_cells(struct device_node* np); |
174 | extern int prom_n_size_cells(struct device_node* np); | 174 | extern int prom_n_size_cells(struct device_node* np); |