aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/ops.h
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2007-06-15 18:06:40 -0400
committerPaul Mackerras <paulus@samba.org>2007-06-28 05:16:49 -0400
commitb96fbb6e1eb81bb21a8c3462773a0056e12de427 (patch)
tree5a4094f10d63bafaa5d203497857bb36e9e34bd1 /arch/powerpc/boot/ops.h
parent0aa97d6e420039fc4a6040acdf53e56e0f90c0f5 (diff)
[POWERPC] Fix constantness of bootwrapper arg
Fixes the constantness of the powerpc bootwrapper's console_ops.write routine. Allows printing of constant strings. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/boot/ops.h')
-rw-r--r--arch/powerpc/boot/ops.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/boot/ops.h b/arch/powerpc/boot/ops.h
index 959124f3f9af..a1581b7f1779 100644
--- a/arch/powerpc/boot/ops.h
+++ b/arch/powerpc/boot/ops.h
@@ -51,7 +51,7 @@ extern struct dt_ops dt_ops;
51/* Console operations */ 51/* Console operations */
52struct console_ops { 52struct console_ops {
53 int (*open)(void); 53 int (*open)(void);
54 void (*write)(char *buf, int len); 54 void (*write)(const char *buf, int len);
55 void (*edit_cmdline)(char *buf, int len); 55 void (*edit_cmdline)(char *buf, int len);
56 void (*close)(void); 56 void (*close)(void);
57 void *data; 57 void *data;