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.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index cb181713d9b5..c732b3e78e28 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -620,9 +620,8 @@ struct ata_port_operations {
620 u8 (*irq_on) (struct ata_port *); 620 u8 (*irq_on) (struct ata_port *);
621 u8 (*irq_ack) (struct ata_port *ap, unsigned int chk_drq); 621 u8 (*irq_ack) (struct ata_port *ap, unsigned int chk_drq);
622 622
623 u32 (*scr_read) (struct ata_port *ap, unsigned int sc_reg); 623 int (*scr_read) (struct ata_port *ap, unsigned int sc_reg, u32 *val);
624 void (*scr_write) (struct ata_port *ap, unsigned int sc_reg, 624 int (*scr_write) (struct ata_port *ap, unsigned int sc_reg, u32 val);
625 u32 val);
626 625
627 int (*port_suspend) (struct ata_port *ap, pm_message_t mesg); 626 int (*port_suspend) (struct ata_port *ap, pm_message_t mesg);
628 int (*port_resume) (struct ata_port *ap); 627 int (*port_resume) (struct ata_port *ap);