Commit:     f61e7cd21b47b07002aa39d2f8f0db14b4a51719
Parent:     e0a2f28b4dee2a1e4c62dc8389f25defb284e387
Author:     Scott Wood <[EMAIL PROTECTED]>
AuthorDate: Fri Mar 16 12:28:49 2007 -0500
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Wed Mar 21 22:35:21 2007 +1100

    [POWERPC] bootwrapper: Make setprop accept a const buffer.
    Signed-off-by: Scott Wood <[EMAIL PROTECTED]>
    Acked-by: David Gibson <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
 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 dae0e3b..4d0cfd7 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;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to