diff options
Diffstat (limited to 'drivers/ata/pata_mpc52xx.c')
-rw-r--r-- | drivers/ata/pata_mpc52xx.c | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/drivers/ata/pata_mpc52xx.c b/drivers/ata/pata_mpc52xx.c index 4117b618a9d9..ac7c0822b1a7 100644 --- a/drivers/ata/pata_mpc52xx.c +++ b/drivers/ata/pata_mpc52xx.c | |||
@@ -269,22 +269,12 @@ static struct scsi_host_template mpc52xx_ata_sht = { | |||
269 | }; | 269 | }; |
270 | 270 | ||
271 | static struct ata_port_operations mpc52xx_ata_port_ops = { | 271 | static struct ata_port_operations mpc52xx_ata_port_ops = { |
272 | .set_piomode = mpc52xx_ata_set_piomode, | 272 | .inherits = &ata_sff_port_ops, |
273 | .dev_select = mpc52xx_ata_dev_select, | 273 | .dev_select = mpc52xx_ata_dev_select, |
274 | .tf_load = ata_tf_load, | ||
275 | .tf_read = ata_tf_read, | ||
276 | .check_status = ata_check_status, | ||
277 | .exec_command = ata_exec_command, | ||
278 | .freeze = ata_bmdma_freeze, | ||
279 | .thaw = ata_bmdma_thaw, | ||
280 | .error_handler = mpc52xx_ata_error_handler, | ||
281 | .cable_detect = ata_cable_40wire, | 274 | .cable_detect = ata_cable_40wire, |
282 | .qc_prep = ata_qc_prep, | 275 | .set_piomode = mpc52xx_ata_set_piomode, |
283 | .qc_issue = ata_qc_issue_prot, | 276 | .error_handler = mpc52xx_ata_error_handler, |
284 | .data_xfer = ata_data_xfer, | 277 | .post_internal_cmd = ATA_OP_NULL, |
285 | .irq_clear = ata_noop_irq_clear, | ||
286 | .irq_on = ata_irq_on, | ||
287 | .port_start = ata_sff_port_start, | ||
288 | }; | 278 | }; |
289 | 279 | ||
290 | static int __devinit | 280 | static int __devinit |