X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=drivers%2Fscsi%2Fimm.c;h=99aa0e5699bc9369eb144fc2c144b4082ce15348;hb=37d9a8c5ea8fc063841c133fc53cc168ee620762;hp=4734ab0b3ff6ab9297352d532bf5aeb530757fe8;hpb=dc1544ea5d6dfdf29440295788e639e4b44c605a;p=deliverable%2Flinux.git diff --git a/drivers/scsi/imm.c b/drivers/scsi/imm.c index 4734ab0b3ff6..99aa0e5699bc 100644 --- a/drivers/scsi/imm.c +++ b/drivers/scsi/imm.c @@ -926,7 +926,7 @@ static int imm_engine(imm_struct *dev, struct scsi_cmnd *cmd) return 0; } -static int imm_queuecommand(struct scsi_cmnd *cmd, +static int imm_queuecommand_lck(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *)) { imm_struct *dev = imm_dev(cmd->device->host); @@ -949,6 +949,8 @@ static int imm_queuecommand(struct scsi_cmnd *cmd, return 0; } +static DEF_SCSI_QCMD(imm_queuecommand) + /* * Apparently the disk->capacity attribute is off by 1 sector * for all disk drives. We add the one here, but it should really