diff options
Diffstat (limited to 'drivers/ata/libata.h')
-rw-r--r-- | drivers/ata/libata.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h index bee7cbc4c97c..ba17fc5f2e99 100644 --- a/drivers/ata/libata.h +++ b/drivers/ata/libata.h | |||
@@ -99,10 +99,12 @@ extern struct ata_port *ata_port_alloc(struct ata_host *host); | |||
99 | /* libata-acpi.c */ | 99 | /* libata-acpi.c */ |
100 | #ifdef CONFIG_ATA_ACPI | 100 | #ifdef CONFIG_ATA_ACPI |
101 | extern void ata_acpi_associate(struct ata_host *host); | 101 | extern void ata_acpi_associate(struct ata_host *host); |
102 | extern int ata_acpi_on_suspend(struct ata_port *ap); | ||
102 | extern void ata_acpi_on_resume(struct ata_port *ap); | 103 | extern void ata_acpi_on_resume(struct ata_port *ap); |
103 | extern int ata_acpi_on_devcfg(struct ata_device *adev); | 104 | extern int ata_acpi_on_devcfg(struct ata_device *adev); |
104 | #else | 105 | #else |
105 | static inline void ata_acpi_associate(struct ata_host *host) { } | 106 | static inline void ata_acpi_associate(struct ata_host *host) { } |
107 | static inline int ata_acpi_on_suspend(struct ata_port *ap) { return 0; } | ||
106 | static inline void ata_acpi_on_resume(struct ata_port *ap) { } | 108 | static inline void ata_acpi_on_resume(struct ata_port *ap) { } |
107 | static inline int ata_acpi_on_devcfg(struct ata_device *adev) { return 0; } | 109 | static inline int ata_acpi_on_devcfg(struct ata_device *adev) { return 0; } |
108 | #endif | 110 | #endif |