diff options
author | Ishizaki Kou <kou.ishizaki@toshiba.co.jp> | 2007-07-18 11:30:29 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-07-22 13:30:58 +0200 |
commit | 776568d4c93fe8def5ab4060344af554fe2b44be (patch) | |
tree | cf10358bfe61ad80f83b1eb32369ee81986a8b45 /arch/powerpc/xmon/nonstdio.h | |
parent | [POWERPC] Fix misspelled "CONFIG_CHECK_CACHE_COHERENCY" Kconfig option. (diff) | |
download | linux-776568d4c93fe8def5ab4060344af554fe2b44be.tar.xz linux-776568d4c93fe8def5ab4060344af554fe2b44be.zip |
[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/nonstdio.h')
-rw-r--r-- | arch/powerpc/xmon/nonstdio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/xmon/nonstdio.h b/arch/powerpc/xmon/nonstdio.h index 47cebbd2b1b1..22ec1bb8b720 100644 --- a/arch/powerpc/xmon/nonstdio.h +++ b/arch/powerpc/xmon/nonstdio.h @@ -9,6 +9,6 @@ extern char *xmon_gets(char *, int); extern void xmon_printf(const char *, ...); extern void xmon_map_scc(void); extern int xmon_expect(const char *str, unsigned long timeout); -extern int xmon_write(void *ptr, int nb); +extern int xmon_write(const void *ptr, int nb); extern int xmon_readchar(void); extern int xmon_read_poll(void); |