summaryrefslogtreecommitdiff
path: root/arch/powerpc/xmon/start.c
diff options
context:
space:
mode:
authorIshizaki Kou <kou.ishizaki@toshiba.co.jp>2007-07-18 19:30:29 +1000
committerPaul Mackerras <paulus@samba.org>2007-07-22 21:30:58 +1000
commit776568d4c93fe8def5ab4060344af554fe2b44be (patch)
treecf10358bfe61ad80f83b1eb32369ee81986a8b45 /arch/powerpc/xmon/start.c
parentf8eb77d6fbdf13b94bcea48023d4e1dce4b3bffe (diff)
[POWERPC] Make xmon_write accept a const buffer
Because xmon_write doesn't change the buffer, we should add 'const' qualifier to the argument which points it. Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/xmon/start.c')
-rw-r--r--arch/powerpc/xmon/start.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/xmon/start.c b/arch/powerpc/xmon/start.c
index 712552c4f242..8864de2af382 100644
--- a/arch/powerpc/xmon/start.c
+++ b/arch/powerpc/xmon/start.c
@@ -14,7 +14,7 @@ void xmon_map_scc(void)
{
}
-int xmon_write(void *ptr, int nb)
+int xmon_write(const void *ptr, int nb)
{
return udbg_write(ptr, nb);
}