Skip to content

Commit 154be21

Browse files
mcgrofrustyrussell
authored andcommitted
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>
1 parent d19f05d commit 154be21

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎kernel/params.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ const struct kernel_param_ops param_ops_bool_enable_only = {
364364
.set = param_set_bool_enable_only,
365365
.get = param_get_bool,
366366
};
367+
EXPORT_SYMBOL_GPL(param_ops_bool_enable_only);
367368

368369
/* This one must be bool. */
369370
int param_set_invbool(const char *val, const struct kernel_param *kp)

0 commit comments

Comments
 (0)