diff options
author | Luis R. Rodriguez <mcgrof@suse.com> | 2015-05-27 11:09:39 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2015-05-28 11:32:12 +0930 |
commit | 154be21c582857c468575e7cab488fe39dc1445b (patch) | |
tree | 0001204664e0d34d9cb4173c17b891a96c17155a /kernel/params.c | |
parent | d19f05d8a8fa221e5d5f4eaca0f3ca5874c990d3 (diff) | |
download | op-kernel-dev-154be21c582857c468575e7cab488fe39dc1445b.zip op-kernel-dev-154be21c582857c468575e7cab488fe39dc1445b.tar.gz |
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>
Diffstat (limited to 'kernel/params.c')
-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 324624e..7edf31f 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) |