aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/megaraid.c')
-rw-r--r--drivers/scsi/megaraid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c
index 80b0c40c522b..ec81532eb845 100644
--- a/drivers/scsi/megaraid.c
+++ b/drivers/scsi/megaraid.c
@@ -1975,7 +1975,7 @@ __megaraid_reset(Scsi_Cmnd *cmd)
1975static int 1975static int
1976megaraid_reset(Scsi_Cmnd *cmd) 1976megaraid_reset(Scsi_Cmnd *cmd)
1977{ 1977{
1978 adapter = (adapter_t *)cmd->device->host->hostdata; 1978 adapter_t *adapter = (adapter_t *)cmd->device->host->hostdata;
1979 int rc; 1979 int rc;
1980 1980
1981 spin_lock_irq(&adapter->lock); 1981 spin_lock_irq(&adapter->lock);