diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/params.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/params.c b/kernel/params.c index ef60db14fae0..a3eeeefc9472 100644 --- a/kernel/params.c +++ b/kernel/params.c | |||
@@ -88,7 +88,7 @@ static inline int parameq(const char *input, const char *paramname) | |||
88 | 88 | ||
89 | static int parse_one(char *param, | 89 | static int parse_one(char *param, |
90 | char *val, | 90 | char *val, |
91 | struct kernel_param *params, | 91 | const struct kernel_param *params, |
92 | unsigned num_params, | 92 | unsigned num_params, |
93 | int (*handle_unknown)(char *param, char *val)) | 93 | int (*handle_unknown)(char *param, char *val)) |
94 | { | 94 | { |
@@ -170,7 +170,7 @@ static char *next_arg(char *args, char **param, char **val) | |||
170 | /* Args looks like "foo=bar,bar2 baz=fuz wiz". */ | 170 | /* Args looks like "foo=bar,bar2 baz=fuz wiz". */ |
171 | int parse_args(const char *name, | 171 | int parse_args(const char *name, |
172 | char *args, | 172 | char *args, |
173 | struct kernel_param *params, | 173 | const struct kernel_param *params, |
174 | unsigned num, | 174 | unsigned num, |
175 | int (*unknown)(char *param, char *val)) | 175 | int (*unknown)(char *param, char *val)) |
176 | { | 176 | { |