X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fscsi%2Fimm.c;h=fc0f30ae0f77fc251b48bc70e011c53bc816f3fa;hb=641940611478df8b63f581310b9d51806dda3212;hp=65e845665b85d26b24da8f1734a45a7ce04744ce;hpb=6c89cce75c6f93088a5a2a25bb9674a9194592cc;p=linux-2.6-omap-h63xx.git diff --git a/drivers/scsi/imm.c b/drivers/scsi/imm.c index 65e845665b8..fc0f30ae0f7 100644 --- a/drivers/scsi/imm.c +++ b/drivers/scsi/imm.c @@ -830,7 +830,7 @@ static int imm_engine(imm_struct *dev, struct scsi_cmnd *cmd) /* Phase 2 - We are now talking to the scsi bus */ case 2: - if (!imm_select(dev, cmd->device->id)) { + if (!imm_select(dev, scmd_id(cmd))) { imm_fail(dev, DID_NO_CONNECT); return 0; }