aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_via.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_via.c')
-rw-r--r--drivers/ata/pata_via.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ata/pata_via.c b/drivers/ata/pata_via.c
index 2928fa173132..4b85f84fbe76 100644
--- a/drivers/ata/pata_via.c
+++ b/drivers/ata/pata_via.c
@@ -210,7 +210,7 @@ static int via_pre_reset(struct ata_link *link, unsigned long deadline)
210 return -ENOENT; 210 return -ENOENT;
211 } 211 }
212 212
213 return ata_std_prereset(link, deadline); 213 return ata_sff_prereset(link, deadline);
214} 214}
215 215
216 216
@@ -336,7 +336,7 @@ static struct ata_port_operations via_port_ops = {
336 336
337static struct ata_port_operations via_port_ops_noirq = { 337static struct ata_port_operations via_port_ops_noirq = {
338 .inherits = &via_port_ops, 338 .inherits = &via_port_ops,
339 .data_xfer = ata_data_xfer_noirq, 339 .data_xfer = ata_sff_data_xfer_noirq,
340}; 340};
341 341
342/** 342/**
@@ -511,7 +511,7 @@ static int via_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
511 } 511 }
512 512
513 /* We have established the device type, now fire it up */ 513 /* We have established the device type, now fire it up */
514 return ata_pci_init_one(pdev, ppi, &via_sht, (void *)config); 514 return ata_pci_sff_init_one(pdev, ppi, &via_sht, (void *)config);
515} 515}
516 516
517#ifdef CONFIG_PM 517#ifdef CONFIG_PM