Skip to content

Commit

Permalink
kernel/params.c: export param_ops_bool_enable_only
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mcgrof authored and rustyrussell committed May 28, 2015
1 parent d19f05d commit 154be21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/params.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 154be21

Please sign in to comment.