diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-09-08 05:41:28 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-08 05:41:28 -0400 |
commit | 142e27fc8a3619471669d6241784eec9167c47d1 (patch) | |
tree | e88850b63ec910ee28874f93c43fb66421bb8119 /drivers/scsi/libata-scsi.c | |
parent | a9053d0494d3c92807701c0f47df61d50c971581 (diff) | |
parent | caf39e87cc1182f7dae84eefc43ca14d54c78ef9 (diff) |
Merge /spare/repo/linux-2.6/
Diffstat (limited to 'drivers/scsi/libata-scsi.c')
-rw-r--r-- | drivers/scsi/libata-scsi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c index f8ddc2a29e9a..03b7a6dd95fe 100644 --- a/drivers/scsi/libata-scsi.c +++ b/drivers/scsi/libata-scsi.c | |||
@@ -1537,10 +1537,10 @@ ata_scsi_find_dev(struct ata_port *ap, struct scsi_device *scsidev) | |||
1537 | if (unlikely(!ata_dev_present(dev))) | 1537 | if (unlikely(!ata_dev_present(dev))) |
1538 | return NULL; | 1538 | return NULL; |
1539 | 1539 | ||
1540 | #ifndef ATA_ENABLE_ATAPI | 1540 | if (!atapi_enabled) { |
1541 | if (unlikely(dev->class == ATA_DEV_ATAPI)) | 1541 | if (unlikely(dev->class == ATA_DEV_ATAPI)) |
1542 | return NULL; | 1542 | return NULL; |
1543 | #endif | 1543 | } |
1544 | 1544 | ||
1545 | return dev; | 1545 | return dev; |
1546 | } | 1546 | } |