kernel/params.c: export param_ops_bool_enable_only
authorLuis R. Rodriguez <[email protected]>
Wed, 27 May 2015 01:39:39 +0000 (11:09 +0930)
committerRusty Russell <[email protected]>
Thu, 28 May 2015 02:02:12 +0000 (11:32 +0930)
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]>
kernel/params.c

index 324624ed620f64460f7532764291026625a90892..7edf31f2ce96a8c21dd3195a07bc2165ec8c25fd 100644 (file)
@@ -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)