projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a8bff5
)
param: use module_param in drivers/message/fusion/mptbase.c
author
Rusty Russell
<rusty@rustcorp.com.au>
Thu, 12 Aug 2010 05:04:39 +0000
(23:04 -0600)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Wed, 11 Aug 2010 13:34:39 +0000
(23:04 +0930)
No need to open code this!
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
drivers/message/fusion/mptbase.c
patch
|
blob
|
history
diff --git
a/drivers/message/fusion/mptbase.c
b/drivers/message/fusion/mptbase.c
index b88a244a1edd2e9754229a72b69801721acdfdc3..d8c668d64418c9e453675b82c56388813258629e 100644
(file)
--- a/
drivers/message/fusion/mptbase.c
+++ b/
drivers/message/fusion/mptbase.c
@@
-109,8
+109,7
@@
MODULE_PARM_DESC(mpt_debug_level, " debug level - refer to mptdebug.h \
int mpt_fwfault_debug;
EXPORT_SYMBOL(mpt_fwfault_debug);
-module_param_call(mpt_fwfault_debug, param_set_int, param_get_int,
- &mpt_fwfault_debug, 0600);
+module_param(mpt_fwfault_debug, int, 0600);
MODULE_PARM_DESC(mpt_fwfault_debug, "Enable detection of Firmware fault"
" and halt Firmware on fault - (default=0)");