]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] megaraid build fix
authorbobl <bobl@turbolinux.com>
Wed, 22 Jun 2005 00:14:29 +0000 (17:14 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 22 Jun 2005 01:46:11 +0000 (18:46 -0700)
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/scsi/megaraid.c

index 80b0c40c522b7023369c6498ad24165892b8ff55..ec81532eb8455b5af006f0d34f25f685e1f2b698 100644 (file)
@@ -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);