From: Jeff Garzik Date: Sat, 1 Dec 2007 23:05:39 +0000 (-0500) Subject: [libata] Build fix WRT ata_is_xxx() new API introduction X-Git-Tag: v2.6.25-rc1~1233^2~50 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e39eec13ff8c58520d77b5f977b1e0fa067fbd2c;p=linux-2.6 [libata] Build fix WRT ata_is_xxx() new API introduction Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c index 3a2f7ef3e6..d7d5a5ae04 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 ",