diff options
Diffstat (limited to 'drivers/ata/pata_pdc202xx_old.c')
-rw-r--r-- | drivers/ata/pata_pdc202xx_old.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/ata/pata_pdc202xx_old.c b/drivers/ata/pata_pdc202xx_old.c index 8d25bd59a16e..29111205185a 100644 --- a/drivers/ata/pata_pdc202xx_old.c +++ b/drivers/ata/pata_pdc202xx_old.c | |||
@@ -35,7 +35,7 @@ static int pdc2026x_cable_detect(struct ata_port *ap) | |||
35 | return ATA_CBL_PATA80; | 35 | return ATA_CBL_PATA80; |
36 | } | 36 | } |
37 | 37 | ||
38 | static void pdc20246_exec_command(struct ata_port *ap, | 38 | static void pdc202xx_exec_command(struct ata_port *ap, |
39 | const struct ata_taskfile *tf) | 39 | const struct ata_taskfile *tf) |
40 | { | 40 | { |
41 | DPRINTK("ata%u: cmd 0x%X\n", ap->print_id, tf->command); | 41 | DPRINTK("ata%u: cmd 0x%X\n", ap->print_id, tf->command); |
@@ -281,7 +281,7 @@ static struct ata_port_operations pdc2024x_port_ops = { | |||
281 | .set_piomode = pdc202xx_set_piomode, | 281 | .set_piomode = pdc202xx_set_piomode, |
282 | .set_dmamode = pdc202xx_set_dmamode, | 282 | .set_dmamode = pdc202xx_set_dmamode, |
283 | 283 | ||
284 | .sff_exec_command = pdc20246_exec_command, | 284 | .sff_exec_command = pdc202xx_exec_command, |
285 | }; | 285 | }; |
286 | 286 | ||
287 | static struct ata_port_operations pdc2026x_port_ops = { | 287 | static struct ata_port_operations pdc2026x_port_ops = { |
@@ -295,6 +295,8 @@ static struct ata_port_operations pdc2026x_port_ops = { | |||
295 | .dev_config = pdc2026x_dev_config, | 295 | .dev_config = pdc2026x_dev_config, |
296 | 296 | ||
297 | .port_start = pdc2026x_port_start, | 297 | .port_start = pdc2026x_port_start, |
298 | |||
299 | .sff_exec_command = pdc202xx_exec_command, | ||
298 | }; | 300 | }; |
299 | 301 | ||
300 | static int pdc202xx_init_one(struct pci_dev *dev, const struct pci_device_id *id) | 302 | static int pdc202xx_init_one(struct pci_dev *dev, const struct pci_device_id *id) |