[libata] Build fix WRT ata_is_xxx() new API introduction
authorJeff Garzik <jeff@garzik.org>
Sat, 1 Dec 2007 23:05:39 +0000 (18:05 -0500)
committerJeff Garzik <jeff@garzik.org>
Wed, 23 Jan 2008 10:24:11 +0000 (05:24 -0500)
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-eh.c

index 3a2f7ef3e60007555e12745f0d69e6da08ec9429..d7d5a5ae04ef6f8a9134c963f667ee0c5a22c099 100644 (file)
@@ -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         ",