aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/ofconsole.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/boot/ofconsole.c')
-rw-r--r--arch/powerpc/boot/ofconsole.c2
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
36static void of_console_write(char *buf, int len) 36static 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}