summaryrefslogtreecommitdiff
path: root/drivers/scsi/megaraid.c
diff options
context:
space:
mode:
authorbobl <bobl@turbolinux.com>2005-06-22 04:14:29 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-22 05:46:11 +0400
commit7f20b6a4792c1b5033583c23b5594887dd3867b9 (patch)
tree1c5fdb0c3e73306a64a442076d9bd9c4b8d603c5 /drivers/scsi/megaraid.c
parent9a558cb4ec43ccbe82e2cf899ced37f29ac017df (diff)
downloadlinux-7f20b6a4792c1b5033583c23b5594887dd3867b9.tar.xz
[PATCH] megaraid build fix
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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)
static int
megaraid_reset(Scsi_Cmnd *cmd)
{
- adapter = (adapter_t *)cmd->device->host->hostdata;
+ adapter_t *adapter = (adapter_t *)cmd->device->host->hostdata;
int rc;
spin_lock_irq(&adapter->lock);