aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGabriele Mazzotta <gabriele.mzt@gmail.com>2015-04-25 19:52:36 +0200
committerBen Hutchings <ben@decadent.org.uk>2015-08-07 00:32:06 +0100
commitbc14e871a99dfdd14fbd685c75e7e4466449c65c (patch)
tree893e9825b6c5fade8b952a1a9396f44c41afce28 /include
parent57279928b028b49bb26bb5af62aa455759521d32 (diff)
downloadkernel_samsung_smdk4412-bc14e871a99dfdd14fbd685c75e7e4466449c65c.zip
kernel_samsung_smdk4412-bc14e871a99dfdd14fbd685c75e7e4466449c65c.tar.gz
kernel_samsung_smdk4412-bc14e871a99dfdd14fbd685c75e7e4466449c65c.tar.bz2
libata: Add helper to determine when PHY events should be ignored
commit 8393b811f38acdf7fd8da2028708edad3e68ce1f upstream. This is a preparation commit that will allow to add other criteria according to which PHY events should be dropped. Signed-off-by: Gabriele Mazzotta <gabriele.mzt@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/libata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 42ac6ad..be928ca 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -1064,6 +1064,7 @@ extern struct ata_device *ata_dev_pair(struct ata_device *adev);
extern int ata_do_set_mode(struct ata_link *link, struct ata_device **r_failed_dev);
extern void ata_scsi_port_error_handler(struct Scsi_Host *host, struct ata_port *ap);
extern void ata_scsi_cmd_error_handler(struct Scsi_Host *host, struct ata_port *ap, struct list_head *eh_q);
+extern bool sata_lpm_ignore_phy_events(struct ata_link *link);
extern int ata_cable_40wire(struct ata_port *ap);
extern int ata_cable_80wire(struct ata_port *ap);