diff options
Diffstat (limited to 'drivers/ata/libata.h')
-rw-r--r-- | drivers/ata/libata.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h index 048e26cfb339..8cf0874f248b 100644 --- a/drivers/ata/libata.h +++ b/drivers/ata/libata.h | |||
@@ -114,6 +114,7 @@ extern int ata_acpi_on_suspend(struct ata_port *ap); | |||
114 | extern void ata_acpi_on_resume(struct ata_port *ap); | 114 | extern void ata_acpi_on_resume(struct ata_port *ap); |
115 | extern int ata_acpi_on_devcfg(struct ata_device *dev); | 115 | extern int ata_acpi_on_devcfg(struct ata_device *dev); |
116 | extern void ata_acpi_on_disable(struct ata_device *dev); | 116 | extern void ata_acpi_on_disable(struct ata_device *dev); |
117 | extern void ata_acpi_set_state(struct ata_port *ap, pm_message_t state); | ||
117 | #else | 118 | #else |
118 | static inline void ata_acpi_associate_sata_port(struct ata_port *ap) { } | 119 | static inline void ata_acpi_associate_sata_port(struct ata_port *ap) { } |
119 | static inline void ata_acpi_associate(struct ata_host *host) { } | 120 | static inline void ata_acpi_associate(struct ata_host *host) { } |
@@ -122,6 +123,8 @@ static inline int ata_acpi_on_suspend(struct ata_port *ap) { return 0; } | |||
122 | static inline void ata_acpi_on_resume(struct ata_port *ap) { } | 123 | static inline void ata_acpi_on_resume(struct ata_port *ap) { } |
123 | static inline int ata_acpi_on_devcfg(struct ata_device *dev) { return 0; } | 124 | static inline int ata_acpi_on_devcfg(struct ata_device *dev) { return 0; } |
124 | static inline void ata_acpi_on_disable(struct ata_device *dev) { } | 125 | static inline void ata_acpi_on_disable(struct ata_device *dev) { } |
126 | static inline void ata_acpi_set_state(struct ata_port *ap, | ||
127 | pm_message_t state) { } | ||
125 | #endif | 128 | #endif |
126 | 129 | ||
127 | /* libata-scsi.c */ | 130 | /* libata-scsi.c */ |