summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-eh.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-12-02 00:05:39 +0100
committerJeff Garzik <jeff@garzik.org>2008-01-23 11:24:11 +0100
commite39eec13ff8c58520d77b5f977b1e0fa067fbd2c (patch)
treeab5cf19a2145dc4c8a90168751525ab3b8b69a9a /drivers/ata/libata-eh.c
parentlibata: implement fast speed down for unverified data transfer mode (diff)
downloadlinux-e39eec13ff8c58520d77b5f977b1e0fa067fbd2c.tar.xz
linux-e39eec13ff8c58520d77b5f977b1e0fa067fbd2c.zip
[libata] Build fix WRT ata_is_xxx() new API introduction
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/libata-eh.c')
-rw-r--r--drivers/ata/libata-eh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c
index 3a2f7ef3e600..d7d5a5ae04ef 100644
--- a/drivers/ata/libata-eh.c
+++ b/drivers/ata/libata-eh.c
@@ -1987,7 +1987,7 @@ static void ata_eh_link_report(struct ata_link *link)
dma_str[qc->dma_dir]);
}
- if (is_atapi_taskfile(&qc->tf))
+ if (ata_is_atapi(qc->tf.protocol))
snprintf(cdb_buf, sizeof(cdb_buf),
"cdb %02x %02x %02x %02x %02x %02x %02x %02x "
"%02x %02x %02x %02x %02x %02x %02x %02x\n ",