diff options
Diffstat (limited to 'drivers/scsi/53c700.c')
-rw-r--r-- | drivers/scsi/53c700.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/53c700.c b/drivers/scsi/53c700.c index 335a25540c08..acee062cd6f6 100644 --- a/drivers/scsi/53c700.c +++ b/drivers/scsi/53c700.c | |||
@@ -313,7 +313,7 @@ NCR_700_detect(struct scsi_host_template *tpnt, | |||
313 | hostdata->status = memory + STATUS_OFFSET; | 313 | hostdata->status = memory + STATUS_OFFSET; |
314 | /* all of these offsets are L1_CACHE_BYTES separated. It is fatal | 314 | /* all of these offsets are L1_CACHE_BYTES separated. It is fatal |
315 | * if this isn't sufficient separation to avoid dma flushing issues */ | 315 | * if this isn't sufficient separation to avoid dma flushing issues */ |
316 | BUG_ON(!dma_is_consistent(pScript) && L1_CACHE_BYTES < dma_get_cache_alignment()); | 316 | BUG_ON(!dma_is_consistent(hostdata->dev, pScript) && L1_CACHE_BYTES < dma_get_cache_alignment()); |
317 | hostdata->slots = (struct NCR_700_command_slot *)(memory + SLOTS_OFFSET); | 317 | hostdata->slots = (struct NCR_700_command_slot *)(memory + SLOTS_OFFSET); |
318 | hostdata->dev = dev; | 318 | hostdata->dev = dev; |
319 | 319 | ||