summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sata_qstor.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2005-08-26 16:03:19 +0100
committerJeff Garzik <jgarzik@pobox.com>2005-08-26 17:36:26 -0400
commitb73fc89f6d1f84326e5e897ad249d00a9f218fd7 (patch)
tree557d5ba51a4f6c58be0717c0da13c2e409fd6008 /drivers/scsi/sata_qstor.c
parent31433ea369d250ad011577eee6110d3efcb9d861 (diff)
downloadop-kernel-dev-b73fc89f6d1f84326e5e897ad249d00a9f218fd7.zip
op-kernel-dev-b73fc89f6d1f84326e5e897ad249d00a9f218fd7.tar.gz
[PATCH] libata: regularize dma_start/stop arguments
Needed for a few PATA drivers. Also fix up a wrong comment. Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/scsi/sata_qstor.c')
-rw-r--r--drivers/scsi/sata_qstor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/sata_qstor.c b/drivers/scsi/sata_qstor.c
index 08a8404..2926846 100644
--- a/drivers/scsi/sata_qstor.c
+++ b/drivers/scsi/sata_qstor.c
@@ -117,7 +117,7 @@ static void qs_phy_reset(struct ata_port *ap);
static void qs_qc_prep(struct ata_queued_cmd *qc);
static int qs_qc_issue(struct ata_queued_cmd *qc);
static int qs_check_atapi_dma(struct ata_queued_cmd *qc);
-static void qs_bmdma_stop(struct ata_port *ap);
+static void qs_bmdma_stop(struct ata_queued_cmd *qc);
static u8 qs_bmdma_status(struct ata_port *ap);
static void qs_irq_clear(struct ata_port *ap);
static void qs_eng_timeout(struct ata_port *ap);
@@ -198,7 +198,7 @@ static int qs_check_atapi_dma(struct ata_queued_cmd *qc)
return 1; /* ATAPI DMA not supported */
}
-static void qs_bmdma_stop(struct ata_port *ap)
+static void qs_bmdma_stop(struct ata_queud_cmd *qc)
{
/* nothing */
}
OpenPOWER on IntegriCloud