aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libata-scsi.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-09-08 05:39:55 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-09-08 05:39:55 -0400
commitc324b44c34050cf2a9b58830e11c974806bd85d8 (patch)
tree3ac45a783221283925cd698334a8f5e7dd4c1df8 /drivers/scsi/libata-scsi.c
parent2fcf522509cceea524b6e7ece8fd6759b682175a (diff)
parentcaf39e87cc1182f7dae84eefc43ca14d54c78ef9 (diff)
Merge /spare/repo/linux-2.6/
Diffstat (limited to 'drivers/scsi/libata-scsi.c')
-rw-r--r--drivers/scsi/libata-scsi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c
index a980701d06c7..98057563a3cc 100644
--- a/drivers/scsi/libata-scsi.c
+++ b/drivers/scsi/libata-scsi.c
@@ -1776,10 +1776,10 @@ ata_scsi_find_dev(struct ata_port *ap, struct scsi_device *scsidev)
1776 if (unlikely(!ata_dev_present(dev))) 1776 if (unlikely(!ata_dev_present(dev)))
1777 return NULL; 1777 return NULL;
1778 1778
1779#ifndef ATA_ENABLE_ATAPI 1779 if (!atapi_enabled) {
1780 if (unlikely(dev->class == ATA_DEV_ATAPI)) 1780 if (unlikely(dev->class == ATA_DEV_ATAPI))
1781 return NULL; 1781 return NULL;
1782#endif 1782 }
1783 1783
1784 return dev; 1784 return dev;
1785} 1785}