diff options
Diffstat (limited to 'drivers/scsi/aha1740.c')
-rw-r--r-- | drivers/scsi/aha1740.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aha1740.c b/drivers/scsi/aha1740.c index 73f33e716a0c..8f85dcc0e7fa 100644 --- a/drivers/scsi/aha1740.c +++ b/drivers/scsi/aha1740.c | |||
@@ -347,7 +347,7 @@ static int aha1740_queuecommand(Scsi_Cmnd * SCpnt, void (*done)(Scsi_Cmnd *)) | |||
347 | { | 347 | { |
348 | unchar direction; | 348 | unchar direction; |
349 | unchar *cmd = (unchar *) SCpnt->cmnd; | 349 | unchar *cmd = (unchar *) SCpnt->cmnd; |
350 | unchar target = SCpnt->device->id; | 350 | unchar target = scmd_id(SCpnt); |
351 | struct aha1740_hostdata *host = HOSTDATA(SCpnt->device->host); | 351 | struct aha1740_hostdata *host = HOSTDATA(SCpnt->device->host); |
352 | unsigned long flags; | 352 | unsigned long flags; |
353 | void *buff = SCpnt->request_buffer; | 353 | void *buff = SCpnt->request_buffer; |