summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-03-29 00:53:28 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:54:35 -0700
commit64b94701c0714f814e640ff351d5f784fdc0381e (patch)
tree2bb66f86ccec74533e40042f60aafe8551cae991 /include/asm-sparc
parent3198514d2d10fb3ce5e49ba0c611764ad8a214d0 (diff)
downloadtalos-op-linux-64b94701c0714f814e640ff351d5f784fdc0381e.tar.gz
talos-op-linux-64b94701c0714f814e640ff351d5f784fdc0381e.zip
[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 'include/asm-sparc')
-rw-r--r--include/asm-sparc/prom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sparc/prom.h b/include/asm-sparc/prom.h
index 274868d8598d..30d53ed4f5cd 100644
--- a/include/asm-sparc/prom.h
+++ b/include/asm-sparc/prom.h
@@ -89,7 +89,7 @@ extern struct property *of_find_property(struct device_node *np,
const char *name,
int *lenp);
extern int of_device_is_compatible(struct device_node *device, const char *);
-extern void *of_get_property(struct device_node *node, const char *name,
+extern const void *of_get_property(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);
OpenPOWER on IntegriCloud