diff options
author | Scott Wood <scottwood@freescale.com> | 2007-03-16 18:28:49 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-03-21 12:35:21 +0100 |
commit | f61e7cd21b47b07002aa39d2f8f0db14b4a51719 (patch) | |
tree | 6e7544d7f93c5ffb2ab1bbdb3fedac7ac85c3fcd /arch/powerpc/boot | |
parent | [POWERPC] Document the linux,network-index property. (diff) | |
download | linux-f61e7cd21b47b07002aa39d2f8f0db14b4a51719.tar.xz linux-f61e7cd21b47b07002aa39d2f8f0db14b4a51719.zip |
[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')
-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; } |