aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_sil24.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/sata_sil24.c')
-rw-r--r--drivers/ata/sata_sil24.c20
1 files changed, 7 insertions, 13 deletions
diff --git a/drivers/ata/sata_sil24.c b/drivers/ata/sata_sil24.c
index 7fa63950d81a..363fb90e1047 100644
--- a/drivers/ata/sata_sil24.c
+++ b/drivers/ata/sata_sil24.c
@@ -390,34 +390,28 @@ static struct scsi_host_template sil24_sht = {
390 .dma_boundary = ATA_DMA_BOUNDARY, 390 .dma_boundary = ATA_DMA_BOUNDARY,
391}; 391};
392 392
393static const struct ata_port_operations sil24_ops = { 393static struct ata_port_operations sil24_ops = {
394 .dev_config = sil24_dev_config, 394 .inherits = &sata_pmp_port_ops,
395 395
396 .check_status = sil24_check_status, 396 .check_status = sil24_check_status,
397 .check_altstatus = sil24_check_status, 397 .check_altstatus = sil24_check_status,
398 .dev_select = ata_noop_dev_select,
399
400 .tf_read = sil24_tf_read, 398 .tf_read = sil24_tf_read,
401
402 .qc_defer = sil24_qc_defer, 399 .qc_defer = sil24_qc_defer,
403 .qc_prep = sil24_qc_prep, 400 .qc_prep = sil24_qc_prep,
404 .qc_issue = sil24_qc_issue, 401 .qc_issue = sil24_qc_issue,
405 402
406 .irq_clear = ata_noop_irq_clear, 403 .freeze = sil24_freeze,
404 .thaw = sil24_thaw,
405 .error_handler = sil24_error_handler,
406 .post_internal_cmd = sil24_post_internal_cmd,
407 .dev_config = sil24_dev_config,
407 408
408 .scr_read = sil24_scr_read, 409 .scr_read = sil24_scr_read,
409 .scr_write = sil24_scr_write, 410 .scr_write = sil24_scr_write,
410
411 .pmp_attach = sil24_pmp_attach, 411 .pmp_attach = sil24_pmp_attach,
412 .pmp_detach = sil24_pmp_detach, 412 .pmp_detach = sil24_pmp_detach,
413 413
414 .freeze = sil24_freeze,
415 .thaw = sil24_thaw,
416 .error_handler = sil24_error_handler,
417 .post_internal_cmd = sil24_post_internal_cmd,
418
419 .port_start = sil24_port_start, 414 .port_start = sil24_port_start,
420
421#ifdef CONFIG_PM 415#ifdef CONFIG_PM
422 .port_resume = sil24_port_resume, 416 .port_resume = sil24_port_resume,
423#endif 417#endif