diff options
author | Luis R. Rodriguez <mcgrof@suse.com> | 2015-05-26 21:39:39 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2015-05-27 22:02:12 -0400 |
commit | 154be21c582857c468575e7cab488fe39dc1445b (patch) | |
tree | 0001204664e0d34d9cb4173c17b891a96c17155a | |
parent | d19f05d8a8fa221e5d5f4eaca0f3ca5874c990d3 (diff) |
kernel/params.c: export param_ops_bool_enable_only
This will grant access to this helper to code built as modules.
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: David Howells <dhowells@redhat.com>
Cc: Ming Lei <ming.lei@canonical.com>
Cc: Seth Forshee <seth.forshee@canonical.com>
Cc: Kyle McMartin <kyle@kernel.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r-- | kernel/params.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/params.c b/kernel/params.c index 324624ed620f..7edf31f2ce96 100644 --- a/kernel/params.c +++ b/kernel/params.c | |||
@@ -364,6 +364,7 @@ const struct kernel_param_ops param_ops_bool_enable_only = { | |||
364 | .set = param_set_bool_enable_only, | 364 | .set = param_set_bool_enable_only, |
365 | .get = param_get_bool, | 365 | .get = param_get_bool, |
366 | }; | 366 | }; |
367 | EXPORT_SYMBOL_GPL(param_ops_bool_enable_only); | ||
367 | 368 | ||
368 | /* This one must be bool. */ | 369 | /* This one must be bool. */ |
369 | int param_set_invbool(const char *val, const struct kernel_param *kp) | 370 | int param_set_invbool(const char *val, const struct kernel_param *kp) |