diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2007-06-15 18:06:40 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-06-28 05:16:49 -0400 |
commit | b96fbb6e1eb81bb21a8c3462773a0056e12de427 (patch) | |
tree | 5a4094f10d63bafaa5d203497857bb36e9e34bd1 /arch/powerpc/boot/ofconsole.c | |
parent | 0aa97d6e420039fc4a6040acdf53e56e0f90c0f5 (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/ofconsole.c')
-rw-r--r-- | arch/powerpc/boot/ofconsole.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/boot/ofconsole.c b/arch/powerpc/boot/ofconsole.c index 00c9dc92dd2f..43c0f36c3326 100644 --- a/arch/powerpc/boot/ofconsole.c +++ b/arch/powerpc/boot/ofconsole.c | |||
@@ -33,7 +33,7 @@ static int of_console_open(void) | |||
33 | return -1; | 33 | return -1; |
34 | } | 34 | } |
35 | 35 | ||
36 | static void of_console_write(char *buf, int len) | 36 | static void of_console_write(const char *buf, int len) |
37 | { | 37 | { |
38 | of_call_prom("write", 3, 1, of_stdout_handle, buf, len); | 38 | of_call_prom("write", 3, 1, of_stdout_handle, buf, len); |
39 | } | 39 | } |