diff options
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index bec6dbe939a0..1de36be64df4 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -848,7 +848,6 @@ struct ata_port { | |||
848 | struct completion park_req_pending; | 848 | struct completion park_req_pending; |
849 | 849 | ||
850 | pm_message_t pm_mesg; | 850 | pm_message_t pm_mesg; |
851 | int *pm_result; | ||
852 | enum ata_lpm_policy target_lpm_policy; | 851 | enum ata_lpm_policy target_lpm_policy; |
853 | 852 | ||
854 | struct timer_list fastdrain_timer; | 853 | struct timer_list fastdrain_timer; |
@@ -1140,16 +1139,14 @@ extern bool ata_link_offline(struct ata_link *link); | |||
1140 | #ifdef CONFIG_PM | 1139 | #ifdef CONFIG_PM |
1141 | extern int ata_host_suspend(struct ata_host *host, pm_message_t mesg); | 1140 | extern int ata_host_suspend(struct ata_host *host, pm_message_t mesg); |
1142 | extern void ata_host_resume(struct ata_host *host); | 1141 | extern void ata_host_resume(struct ata_host *host); |
1143 | extern int ata_sas_port_async_suspend(struct ata_port *ap, int *async); | 1142 | extern void ata_sas_port_suspend(struct ata_port *ap); |
1144 | extern int ata_sas_port_async_resume(struct ata_port *ap, int *async); | 1143 | extern void ata_sas_port_resume(struct ata_port *ap); |
1145 | #else | 1144 | #else |
1146 | static inline int ata_sas_port_async_suspend(struct ata_port *ap, int *async) | 1145 | static inline void ata_sas_port_suspend(struct ata_port *ap) |
1147 | { | 1146 | { |
1148 | return 0; | ||
1149 | } | 1147 | } |
1150 | static inline int ata_sas_port_async_resume(struct ata_port *ap, int *async) | 1148 | static inline void ata_sas_port_resume(struct ata_port *ap) |
1151 | { | 1149 | { |
1152 | return 0; | ||
1153 | } | 1150 | } |
1154 | #endif | 1151 | #endif |
1155 | extern int ata_ratelimit(void); | 1152 | extern int ata_ratelimit(void); |