diff options
author | Scott Wood <scottwood@freescale.com> | 2007-03-16 20:28:49 +0300 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-03-21 14:35:21 +0300 |
commit | f61e7cd21b47b07002aa39d2f8f0db14b4a51719 (patch) | |
tree | 6e7544d7f93c5ffb2ab1bbdb3fedac7ac85c3fcd /arch/powerpc/boot/ops.h | |
parent | e0a2f28b4dee2a1e4c62dc8389f25defb284e387 (diff) | |
download | linux-f61e7cd21b47b07002aa39d2f8f0db14b4a51719.tar.xz |
[POWERPC] bootwrapper: Make setprop accept a const buffer.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/boot/ops.h')
-rw-r--r-- | arch/powerpc/boot/ops.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/boot/ops.h b/arch/powerpc/boot/ops.h index dae0e3b23cf5..4d0cfd733985 100644 --- a/arch/powerpc/boot/ops.h +++ b/arch/powerpc/boot/ops.h @@ -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; } -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; } |