aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_platform.c')
-rw-r--r--drivers/ata/pata_platform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_platform.c b/drivers/ata/pata_platform.c
index 0588c9b7e73e..1edfc13d05d2 100644
--- a/drivers/ata/pata_platform.c
+++ b/drivers/ata/pata_platform.c
@@ -52,7 +52,7 @@ static struct scsi_host_template pata_platform_sht = {
52 52
53static struct ata_port_operations pata_platform_port_ops = { 53static struct ata_port_operations pata_platform_port_ops = {
54 .inherits = &ata_sff_port_ops, 54 .inherits = &ata_sff_port_ops,
55 .data_xfer = ata_data_xfer_noirq, 55 .data_xfer = ata_sff_data_xfer_noirq,
56 .cable_detect = ata_cable_unknown, 56 .cable_detect = ata_cable_unknown,
57 .set_mode = pata_platform_set_mode, 57 .set_mode = pata_platform_set_mode,
58 .port_start = ATA_OP_NULL, 58 .port_start = ATA_OP_NULL,
@@ -176,7 +176,7 @@ int __devinit __pata_platform_probe(struct device *dev,
176 (unsigned long long)ctl_res->start); 176 (unsigned long long)ctl_res->start);
177 177
178 /* activate */ 178 /* activate */
179 return ata_host_activate(host, irq, irq ? ata_interrupt : NULL, 179 return ata_host_activate(host, irq, irq ? ata_sff_interrupt : NULL,
180 irq_flags, &pata_platform_sht); 180 irq_flags, &pata_platform_sht);
181} 181}
182EXPORT_SYMBOL_GPL(__pata_platform_probe); 182EXPORT_SYMBOL_GPL(__pata_platform_probe);