aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_at32.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_at32.c')
-rw-r--r--drivers/ata/pata_at32.c23
1 files changed, 2 insertions, 21 deletions
diff --git a/drivers/ata/pata_at32.c b/drivers/ata/pata_at32.c
index d7b7b7fde362..528315587532 100644
--- a/drivers/ata/pata_at32.c
+++ b/drivers/ata/pata_at32.c
@@ -171,28 +171,9 @@ static struct scsi_host_template at32_sht = {
171}; 171};
172 172
173static struct ata_port_operations at32_port_ops = { 173static struct ata_port_operations at32_port_ops = {
174 .set_piomode = pata_at32_set_piomode, 174 .inherits = &ata_sff_port_ops,
175 .tf_load = ata_tf_load,
176 .tf_read = ata_tf_read,
177 .exec_command = ata_exec_command,
178 .check_status = ata_check_status,
179 .dev_select = ata_std_dev_select,
180
181 .freeze = ata_bmdma_freeze,
182 .thaw = ata_bmdma_thaw,
183 .error_handler = ata_bmdma_error_handler,
184 .post_internal_cmd = ata_bmdma_post_internal_cmd,
185 .cable_detect = ata_cable_40wire, 175 .cable_detect = ata_cable_40wire,
186 176 .set_piomode = pata_at32_set_piomode,
187 .qc_prep = ata_qc_prep,
188 .qc_issue = ata_qc_issue_prot,
189
190 .data_xfer = ata_data_xfer,
191
192 .irq_clear = ata_noop_irq_clear,
193 .irq_on = ata_irq_on,
194
195 .port_start = ata_sff_port_start,
196}; 177};
197 178
198static int __init pata_at32_init_one(struct device *dev, 179static int __init pata_at32_init_one(struct device *dev,