summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorbobl <bobl@turbolinux.com>2005-06-22 02:14:29 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-22 03:46:11 +0200
commit7f20b6a4792c1b5033583c23b5594887dd3867b9 (patch)
tree1c5fdb0c3e73306a64a442076d9bd9c4b8d603c5 /drivers/scsi
parent[PATCH] arm: irqs_disabled() type fix (diff)
downloadlinux-7f20b6a4792c1b5033583c23b5594887dd3867b9.tar.xz
linux-7f20b6a4792c1b5033583c23b5594887dd3867b9.zip
[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')
-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);