summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/serial.c
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2007-06-16 00:06:40 +0200
committerPaul Mackerras <paulus@samba.org>2007-06-28 11:16:49 +0200
commitb96fbb6e1eb81bb21a8c3462773a0056e12de427 (patch)
tree5a4094f10d63bafaa5d203497857bb36e9e34bd1 /arch/powerpc/boot/serial.c
parent[POWERPC] Add u64 printf to bootwrapper (diff)
downloadlinux-b96fbb6e1eb81bb21a8c3462773a0056e12de427.tar.xz
linux-b96fbb6e1eb81bb21a8c3462773a0056e12de427.zip
[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/serial.c')
-rw-r--r--arch/powerpc/boot/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/boot/serial.c b/arch/powerpc/boot/serial.c
index 7fd32330a9a5..eaa0d3ae3518 100644
--- a/arch/powerpc/boot/serial.c
+++ b/arch/powerpc/boot/serial.c
@@ -27,7 +27,7 @@ static int serial_open(void)
return scdp->open();
}
-static void serial_write(char *buf, int len)
+static void serial_write(const char *buf, int len)
{
struct serial_console_data *scdp = console_ops.data;