diff options
author | Tejun Heo <htejun@gmail.com> | 2007-12-18 16:34:43 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-01-23 05:24:14 -0500 |
commit | 0dc36888d4422140f9eaf50f24953ec109f750a3 (patch) | |
tree | 80253b1831849e4063b73c31c15011c5e4c48404 /drivers/ata/libata-sff.c | |
parent | 537b53c1692960b8b3b0324e886fbe48cb9e5c00 (diff) |
libata: rename ATA_PROT_ATAPI_* to ATAPI_PROT_*
ATA_PROT_ATAPI_* are ugly and naming schemes between ATA_PROT_* and
ATA_PROT_ATAPI_* are inconsistent causing confusion. Rename them to
ATAPI_PROT_* and make them consistent with ATA counterpart.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/libata-sff.c')
-rw-r--r-- | drivers/ata/libata-sff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-sff.c b/drivers/ata/libata-sff.c index fd5fe4e7e75a..edeb4bea586c 100644 --- a/drivers/ata/libata-sff.c +++ b/drivers/ata/libata-sff.c | |||
@@ -417,7 +417,7 @@ void ata_bmdma_drive_eh(struct ata_port *ap, ata_prereset_fn_t prereset, | |||
417 | ap->hsm_task_state = HSM_ST_IDLE; | 417 | ap->hsm_task_state = HSM_ST_IDLE; |
418 | 418 | ||
419 | if (qc && (qc->tf.protocol == ATA_PROT_DMA || | 419 | if (qc && (qc->tf.protocol == ATA_PROT_DMA || |
420 | qc->tf.protocol == ATA_PROT_ATAPI_DMA)) { | 420 | qc->tf.protocol == ATAPI_PROT_DMA)) { |
421 | u8 host_stat; | 421 | u8 host_stat; |
422 | 422 | ||
423 | host_stat = ap->ops->bmdma_status(ap); | 423 | host_stat = ap->ops->bmdma_status(ap); |