aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/moduleparam.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-06-12 23:46:53 -0400
committerRusty Russell <rusty@rustcorp.com.au>2009-06-12 08:16:56 -0400
commit9a71af2c3627b379b7c31917a7f6ee0d29bc559b (patch)
treec09049a6a4458be91844500d7d5034b63a1cdcc7 /include/linux/moduleparam.h
parentab8e2eb722f1e5fcbd8181e3e9ef4e95c52124df (diff)
module_param: invbool should take a 'bool', not an 'int'
It takes an 'int' for historical reasons, and there are only two users: simply switch it over to bool. The other user (uvesafb.c) will get a (harmless-on-x86) warning until the next patch is applied. Cc: Brad Douglas <brad@neruo.com> Cc: Michal Januszewski <spock@gentoo.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include/linux/moduleparam.h')
-rw-r--r--include/linux/moduleparam.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/moduleparam.h b/include/linux/moduleparam.h
index a4f0b931846c..9bbca8e8c19f 100644
--- a/include/linux/moduleparam.h
+++ b/include/linux/moduleparam.h
@@ -192,7 +192,7 @@ extern int param_get_bool(char *buffer, struct kernel_param *kp);
192 192
193extern int param_set_invbool(const char *val, struct kernel_param *kp); 193extern int param_set_invbool(const char *val, struct kernel_param *kp);
194extern int param_get_invbool(char *buffer, struct kernel_param *kp); 194extern int param_get_invbool(char *buffer, struct kernel_param *kp);
195#define param_check_invbool(name, p) __param_check(name, p, int) 195#define param_check_invbool(name, p) __param_check(name, p, bool)
196 196
197/* Comma-separated array: *nump is set to number they actually specified. */ 197/* Comma-separated array: *nump is set to number they actually specified. */
198#define module_param_array_named(name, array, type, nump, perm) \ 198#define module_param_array_named(name, array, type, nump, perm) \