mpt: fix enable lsi sas to use msi as default
Subsystems (2)
PATCH 2/3 mpt: fix enable lsi sas to use msi as default
From: Yinghai Lu <[email protected]>
The third arg in module_param(,,) is perm instead of default value. we still need to assign default at first.
Signed-off-by Yinghai Lu <[email protected]>
Cc James Bottomley <[email protected]>
Cc Kashyap Desai <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/message/fusion/mptbase.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/message/fusion/mptbase.c renamed from drivers/message/fusion/mptbase.c~mpt-fix-enable-lsi-sas-to-use-msi-as-default +2 -2
@@ -90,8 +90,8 @@ module_param(mpt_msi_enable_fc, int, 0);MODULE_PARM_DESC (mpt_msi_enable_fc," Enable MSI Support for FC \ controllers (default=0)" ); -static int mpt_msi_enable_sas; -module_param (mpt_msi_enable_sas, int,1 ); +static int mpt_msi_enable_sas =1 ; +module_param (mpt_msi_enable_sas, int,0 );MODULE_PARM_DESC (mpt_msi_enable_sas," Enable MSI Support for SAS \ controllers (default=1)" );
_