aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis R. Rodriguez <[email protected]>2015-05-27 11:09:39 +0930
committerRusty Russell <[email protected]>2015-05-28 11:32:12 +0930
commit154be21c582857c468575e7cab488fe39dc1445b (patch)
tree0001204664e0d34d9cb4173c17b891a96c17155a
parentd19f05d8a8fa221e5d5f4eaca0f3ca5874c990d3 (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 <[email protected]> Cc: David Howells <[email protected]> Cc: Ming Lei <[email protected]> Cc: Seth Forshee <[email protected]> Cc: Kyle McMartin <[email protected]> Signed-off-by: Luis R. Rodriguez <[email protected]> Signed-off-by: Rusty Russell <[email protected]>
-rw-r--r--kernel/params.c1
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 = {
.set = param_set_bool_enable_only,
.get = param_get_bool,
};
+EXPORT_SYMBOL_GPL(param_ops_bool_enable_only);
/* This one must be bool. */
int param_set_invbool(const char *val, const struct kernel_param *kp)