aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/libata.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r--include/linux/libata.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 25444dafae50..0f86d9be78ab 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -607,7 +607,7 @@ struct ata_port_operations {
607 void (*dev_select)(struct ata_port *ap, unsigned int device); 607 void (*dev_select)(struct ata_port *ap, unsigned int device);
608 608
609 void (*phy_reset) (struct ata_port *ap); /* obsolete */ 609 void (*phy_reset) (struct ata_port *ap); /* obsolete */
610 int (*set_mode) (struct ata_port *ap, struct ata_device **r_failed_dev); 610 int (*set_mode) (struct ata_link *link, struct ata_device **r_failed_dev);
611 611
612 int (*cable_detect) (struct ata_port *ap); 612 int (*cable_detect) (struct ata_port *ap);
613 613
@@ -838,7 +838,7 @@ extern void ata_scsi_slave_destroy(struct scsi_device *sdev);
838extern int ata_scsi_change_queue_depth(struct scsi_device *sdev, 838extern int ata_scsi_change_queue_depth(struct scsi_device *sdev,
839 int queue_depth); 839 int queue_depth);
840extern struct ata_device *ata_dev_pair(struct ata_device *adev); 840extern struct ata_device *ata_dev_pair(struct ata_device *adev);
841extern int ata_do_set_mode(struct ata_port *ap, struct ata_device **r_failed_dev); 841extern int ata_do_set_mode(struct ata_link *link, struct ata_device **r_failed_dev);
842extern u8 ata_irq_on(struct ata_port *ap); 842extern u8 ata_irq_on(struct ata_port *ap);
843extern u8 ata_dummy_irq_on(struct ata_port *ap); 843extern u8 ata_dummy_irq_on(struct ata_port *ap);
844extern u8 ata_irq_ack(struct ata_port *ap, unsigned int chk_drq); 844extern u8 ata_irq_ack(struct ata_port *ap, unsigned int chk_drq);