summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbobl <bobl@turbolinux.com>2005-06-21 17:14:29 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-21 18:46:11 -0700
commit7f20b6a4792c1b5033583c23b5594887dd3867b9 (patch)
tree1c5fdb0c3e73306a64a442076d9bd9c4b8d603c5
parent9a558cb4ec43ccbe82e2cf899ced37f29ac017df (diff)
downloadblackbird-op-linux-7f20b6a4792c1b5033583c23b5594887dd3867b9.tar.gz
blackbird-op-linux-7f20b6a4792c1b5033583c23b5594887dd3867b9.zip
[PATCH] megaraid build fix
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-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);
OpenPOWER on IntegriCloud