diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-03-29 03:53:28 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 04:54:35 -0400 |
commit | 64b94701c0714f814e640ff351d5f784fdc0381e (patch) | |
tree | 2bb66f86ccec74533e40042f60aafe8551cae991 /arch/sparc64/kernel/prom.c | |
parent | 3198514d2d10fb3ce5e49ba0c611764ad8a214d0 (diff) |
[SPARC/64]: constify of_get_property return
Finally, we actually change the functions themselves.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/prom.c')
-rw-r--r-- | arch/sparc64/kernel/prom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/prom.c b/arch/sparc64/kernel/prom.c index 25b70368973c..493db961a1f6 100644 --- a/arch/sparc64/kernel/prom.c +++ b/arch/sparc64/kernel/prom.c | |||
@@ -174,7 +174,7 @@ EXPORT_SYMBOL(of_find_property); | |||
174 | * Find a property with a given name for a given node | 174 | * Find a property with a given name for a given node |
175 | * and return the value. | 175 | * and return the value. |
176 | */ | 176 | */ |
177 | void *of_get_property(struct device_node *np, const char *name, int *lenp) | 177 | const void *of_get_property(struct device_node *np, const char *name, int *lenp) |
178 | { | 178 | { |
179 | struct property *pp = of_find_property(np,name,lenp); | 179 | struct property *pp = of_find_property(np,name,lenp); |
180 | return pp ? pp->value : NULL; | 180 | return pp ? pp->value : NULL; |