summaryrefslogtreecommitdiffstats
path: root/include/linux/moduleparam.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/moduleparam.h')
-rw-r--r--include/linux/moduleparam.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/moduleparam.h b/include/linux/moduleparam.h
index 5d0f4d97997f..7e0079936396 100644
--- a/include/linux/moduleparam.h
+++ b/include/linux/moduleparam.h
@@ -427,6 +427,12 @@ extern int param_set_bool(const char *val, const struct kernel_param *kp);
427extern int param_get_bool(char *buffer, const struct kernel_param *kp); 427extern int param_get_bool(char *buffer, const struct kernel_param *kp);
428#define param_check_bool(name, p) __param_check(name, p, bool) 428#define param_check_bool(name, p) __param_check(name, p, bool)
429 429
430extern const struct kernel_param_ops param_ops_bool_enable_only;
431extern int param_set_bool_enable_only(const char *val,
432 const struct kernel_param *kp);
433/* getter is the same as for the regular bool */
434#define param_check_bool_enable_only param_check_bool
435
430extern const struct kernel_param_ops param_ops_invbool; 436extern const struct kernel_param_ops param_ops_invbool;
431extern int param_set_invbool(const char *val, const struct kernel_param *kp); 437extern int param_set_invbool(const char *val, const struct kernel_param *kp);
432extern int param_get_invbool(char *buffer, const struct kernel_param *kp); 438extern int param_get_invbool(char *buffer, const struct kernel_param *kp);