diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-07-24 19:27:46 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-28 09:05:23 -0400 |
commit | d974ae379a2fbe8948f01eabbc6b19c0a80f09bc (patch) | |
tree | 64deaab7470403d6cf77e73c35015b0ff602dd7d /include/linux | |
parent | c9272c4f9fbe2087beb3392f526dc5b19efaa56b (diff) |
generic, memparse(): constify argument
memparse()'s first argument can be const, so it should be.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/kernel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index fdbbf72ca2eb..7889c2f9b75d 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h | |||
@@ -176,7 +176,7 @@ extern int vsscanf(const char *, const char *, va_list) | |||
176 | 176 | ||
177 | extern int get_option(char **str, int *pint); | 177 | extern int get_option(char **str, int *pint); |
178 | extern char *get_options(const char *str, int nints, int *ints); | 178 | extern char *get_options(const char *str, int nints, int *ints); |
179 | extern unsigned long long memparse(char *ptr, char **retptr); | 179 | extern unsigned long long memparse(const char *ptr, char **retptr); |
180 | 180 | ||
181 | extern int core_kernel_text(unsigned long addr); | 181 | extern int core_kernel_text(unsigned long addr); |
182 | extern int __kernel_text_address(unsigned long addr); | 182 | extern int __kernel_text_address(unsigned long addr); |