Commit f61e7cd2 authored by Scott Wood's avatar Scott Wood Committed by Paul Mackerras

[POWERPC] bootwrapper: Make setprop accept a const buffer.

Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
Acked-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent e0a2f28b
...@@ -91,7 +91,8 @@ static inline int getprop(void *devp, const char *name, void *buf, int buflen) ...@@ -91,7 +91,8 @@ static inline int getprop(void *devp, const char *name, void *buf, int buflen)
return (dt_ops.getprop) ? dt_ops.getprop(devp, name, buf, buflen) : -1; return (dt_ops.getprop) ? dt_ops.getprop(devp, name, buf, buflen) : -1;
} }
static inline int setprop(void *devp, const char *name, void *buf, int buflen) static inline int setprop(void *devp, const char *name,
const void *buf, int buflen)
{ {
return (dt_ops.setprop) ? dt_ops.setprop(devp, name, buf, buflen) : -1; return (dt_ops.setprop) ? dt_ops.setprop(devp, name, buf, buflen) : -1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment