diff options
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 31a2853e9530..cc834e1136b2 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -1013,6 +1013,17 @@ extern bool ata_link_offline(struct ata_link *link); | |||
1013 | #ifdef CONFIG_PM | 1013 | #ifdef CONFIG_PM |
1014 | extern int ata_host_suspend(struct ata_host *host, pm_message_t mesg); | 1014 | extern int ata_host_suspend(struct ata_host *host, pm_message_t mesg); |
1015 | extern void ata_host_resume(struct ata_host *host); | 1015 | extern void ata_host_resume(struct ata_host *host); |
1016 | extern int ata_sas_port_async_suspend(struct ata_port *ap, int *async); | ||
1017 | extern int ata_sas_port_async_resume(struct ata_port *ap, int *async); | ||
1018 | #else | ||
1019 | static inline int ata_sas_port_async_suspend(struct ata_port *ap, int *async) | ||
1020 | { | ||
1021 | return 0; | ||
1022 | } | ||
1023 | static inline int ata_sas_port_async_resume(struct ata_port *ap, int *async) | ||
1024 | { | ||
1025 | return 0; | ||
1026 | } | ||
1016 | #endif | 1027 | #endif |
1017 | extern int ata_ratelimit(void); | 1028 | extern int ata_ratelimit(void); |
1018 | extern void ata_msleep(struct ata_port *ap, unsigned int msecs); | 1029 | extern void ata_msleep(struct ata_port *ap, unsigned int msecs); |