diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2010-08-12 01:04:39 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2010-08-11 09:34:39 -0400 |
commit | 57ba4717f2fe3ed441f3225dd9e05f6a0419fb6c (patch) | |
tree | eef18b359836c998a88091f6425ed2551dfd35ea /drivers/message/fusion | |
parent | 1a8bff5b404909436fcf03cac167a76ceaaa5547 (diff) |
param: use module_param in drivers/message/fusion/mptbase.c
No need to open code this!
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/message/fusion')
-rw-r--r-- | drivers/message/fusion/mptbase.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c index b88a244a1edd..d8c668d64418 100644 --- 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 \ | |||
109 | 109 | ||
110 | int mpt_fwfault_debug; | 110 | int mpt_fwfault_debug; |
111 | EXPORT_SYMBOL(mpt_fwfault_debug); | 111 | EXPORT_SYMBOL(mpt_fwfault_debug); |
112 | module_param_call(mpt_fwfault_debug, param_set_int, param_get_int, | 112 | module_param(mpt_fwfault_debug, int, 0600); |
113 | &mpt_fwfault_debug, 0600); | ||
114 | MODULE_PARM_DESC(mpt_fwfault_debug, "Enable detection of Firmware fault" | 113 | MODULE_PARM_DESC(mpt_fwfault_debug, "Enable detection of Firmware fault" |
115 | " and halt Firmware on fault - (default=0)"); | 114 | " and halt Firmware on fault - (default=0)"); |
116 | 115 | ||