aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_cmd640.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2007-08-22 17:55:41 -0400
committerJeff Garzik <jeff@garzik.org>2007-10-12 14:55:36 -0400
commit81ad1837b590775336f68eafcae8dab13a975b3a (patch)
treeacdbe73364759c291eaf2ad40c708374e23cddfe /drivers/ata/pata_cmd640.c
parentac8869d56d95a8c74403e6f7a47d74fcfcc1b988 (diff)
libata: Switch most of the remaining SFF drivers to ata_sff_port_start
This avoids allocating DMA buffers if not needed but at the moment is mostly just a neatness item. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_cmd640.c')
-rw-r--r--drivers/ata/pata_cmd640.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_cmd640.c b/drivers/ata/pata_cmd640.c
index f09d4fa275ce..43d198f90968 100644
--- a/drivers/ata/pata_cmd640.c
+++ b/drivers/ata/pata_cmd640.c
@@ -153,7 +153,7 @@ static int cmd640_port_start(struct ata_port *ap)
153 struct pci_dev *pdev = to_pci_dev(ap->host->dev); 153 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
154 struct cmd640_reg *timing; 154 struct cmd640_reg *timing;
155 155
156 int ret = ata_port_start(ap); 156 int ret = ata_sff_port_start(ap);
157 if (ret < 0) 157 if (ret < 0)
158 return ret; 158 return ret;
159 159