diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2008-05-15 16:52:35 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-05-15 16:52:39 +0200 |
commit | 5cbbf16a0fab91662af8400b5ada658990932a87 (patch) | |
tree | 083f5df08cd9c098ee4743d4ce1d0d23a6039699 /include/asm-s390/debug.h | |
parent | [S390] dasd: Use const in busid functions. (diff) | |
download | linux-5cbbf16a0fab91662af8400b5ada658990932a87.tar.xz linux-5cbbf16a0fab91662af8400b5ada658990932a87.zip |
[S390] s390dbf: Use const char * for dbf name.
We should use const char * for passing the name of the debug feature
around since it will not be changed.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to '')
-rw-r--r-- | include/asm-s390/debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-s390/debug.h b/include/asm-s390/debug.h index 335baf4fc64f..9450ce6e32de 100644 --- a/include/asm-s390/debug.h +++ b/include/asm-s390/debug.h @@ -120,10 +120,10 @@ debug_entry_t* debug_exception_common(debug_info_t* id, int level, /* Debug Feature API: */ -debug_info_t* debug_register(char* name, int pages, int nr_areas, +debug_info_t *debug_register(const char *name, int pages, int nr_areas, int buf_size); -debug_info_t *debug_register_mode(char *name, int pages, int nr_areas, +debug_info_t *debug_register_mode(const char *name, int pages, int nr_areas, int buf_size, mode_t mode, uid_t uid, gid_t gid); |