aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_cmd640.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_cmd640.c')
-rw-r--r--drivers/ata/pata_cmd640.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/ata/pata_cmd640.c b/drivers/ata/pata_cmd640.c
index 0feb5ae8c486..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
@@ -184,7 +184,6 @@ static struct scsi_host_template cmd640_sht = {
184}; 184};
185 185
186static struct ata_port_operations cmd640_port_ops = { 186static struct ata_port_operations cmd640_port_ops = {
187 .port_disable = ata_port_disable,
188 .set_piomode = cmd640_set_piomode, 187 .set_piomode = cmd640_set_piomode,
189 .mode_filter = ata_pci_default_filter, 188 .mode_filter = ata_pci_default_filter,
190 .tf_load = ata_tf_load, 189 .tf_load = ata_tf_load,
@@ -213,7 +212,6 @@ static struct ata_port_operations cmd640_port_ops = {
213 .irq_handler = ata_interrupt, 212 .irq_handler = ata_interrupt,
214 .irq_clear = ata_bmdma_irq_clear, 213 .irq_clear = ata_bmdma_irq_clear,
215 .irq_on = ata_irq_on, 214 .irq_on = ata_irq_on,
216 .irq_ack = ata_irq_ack,
217 215
218 .port_start = cmd640_port_start, 216 .port_start = cmd640_port_start,
219}; 217};