From: bobl Date: Wed, 22 Jun 2005 00:14:29 +0000 (-0700) Subject: [PATCH] megaraid build fix X-Git-Tag: v2.6.13-rc4~130^2~156^2~174 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7f20b6a4792c1b5033583c23b5594887dd3867b9;p=platform%2Fupstream%2Fkernel-adaptation-pc.git [PATCH] megaraid build fix Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c index 80b0c40..ec81532 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);