aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_scc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_scc.c')
-rw-r--r--drivers/ata/pata_scc.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/ata/pata_scc.c b/drivers/ata/pata_scc.c
index 1833e9ef522e..033d1f3a82de 100644
--- a/drivers/ata/pata_scc.c
+++ b/drivers/ata/pata_scc.c
@@ -972,6 +972,8 @@ static struct scsi_host_template scc_sht = {
972}; 972};
973 973
974static const struct ata_port_operations scc_pata_ops = { 974static const struct ata_port_operations scc_pata_ops = {
975 .inherits = &ata_bmdma_port_ops,
976
975 .set_piomode = scc_set_piomode, 977 .set_piomode = scc_set_piomode,
976 .set_dmamode = scc_set_dmamode, 978 .set_dmamode = scc_set_dmamode,
977 .mode_filter = scc_mode_filter, 979 .mode_filter = scc_mode_filter,
@@ -989,12 +991,7 @@ static const struct ata_port_operations scc_pata_ops = {
989 .bmdma_status = scc_bmdma_status, 991 .bmdma_status = scc_bmdma_status,
990 .data_xfer = scc_data_xfer, 992 .data_xfer = scc_data_xfer,
991 993
992 .qc_prep = ata_qc_prep,
993 .qc_issue = ata_qc_issue_prot,
994
995 .freeze = scc_bmdma_freeze, 994 .freeze = scc_bmdma_freeze,
996 .thaw = ata_bmdma_thaw,
997
998 .error_handler = scc_error_handler, 995 .error_handler = scc_error_handler,
999 .post_internal_cmd = scc_bmdma_stop, 996 .post_internal_cmd = scc_bmdma_stop,
1000 997