diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kernel/prom.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c index 4c524cb52184..ef3619c28702 100644 --- a/arch/powerpc/kernel/prom.c +++ b/arch/powerpc/kernel/prom.c | |||
@@ -1975,8 +1975,7 @@ struct property *of_find_property(struct device_node *np, const char *name, | |||
1975 | * Find a property with a given name for a given node | 1975 | * Find a property with a given name for a given node |
1976 | * and return the value. | 1976 | * and return the value. |
1977 | */ | 1977 | */ |
1978 | unsigned char *get_property(struct device_node *np, const char *name, | 1978 | void *get_property(struct device_node *np, const char *name, int *lenp) |
1979 | int *lenp) | ||
1980 | { | 1979 | { |
1981 | struct property *pp = of_find_property(np,name,lenp); | 1980 | struct property *pp = of_find_property(np,name,lenp); |
1982 | return pp ? pp->value : NULL; | 1981 | return pp ? pp->value : NULL; |