module: Add NOARG flag for ops with param_set_bool_enable_only() set function
authorSteven Rostedt <rostedt@goodmis.org>
Tue, 20 Aug 2013 06:03:19 +0000 (15:33 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 20 Aug 2013 06:07:43 +0000 (15:37 +0930)
commit0ce814096f388f6801587f01c1c5ee1d04e746b3
treecb3319659521cfe0288a4670c5160fbd9da744f2
parentab013c5f60b7ead254863c75b9adc2a47992d01b
module: Add NOARG flag for ops with param_set_bool_enable_only() set function

The ops that uses param_set_bool_enable_only() as its set function can
easily handle being used without an argument. There's no reason to
fail the loading of the module if it does not have one.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kernel/module.c