aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/libata.h')
-rw-r--r--drivers/ata/libata.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h
index a44172fd1f5c..f8bd955c5ba7 100644
--- a/drivers/ata/libata.h
+++ b/drivers/ata/libata.h
@@ -103,11 +103,13 @@ extern struct ata_port *ata_port_alloc(struct ata_host *host);
103 103
104/* libata-acpi.c */ 104/* libata-acpi.c */
105#ifdef CONFIG_ATA_ACPI 105#ifdef CONFIG_ATA_ACPI
106extern void ata_acpi_associate_sata_port(struct ata_port *ap);
106extern void ata_acpi_associate(struct ata_host *host); 107extern void ata_acpi_associate(struct ata_host *host);
107extern int ata_acpi_on_suspend(struct ata_port *ap); 108extern int ata_acpi_on_suspend(struct ata_port *ap);
108extern void ata_acpi_on_resume(struct ata_port *ap); 109extern void ata_acpi_on_resume(struct ata_port *ap);
109extern int ata_acpi_on_devcfg(struct ata_device *adev); 110extern int ata_acpi_on_devcfg(struct ata_device *adev);
110#else 111#else
112static inline void ata_acpi_associate_sata_port(struct ata_port *ap) { }
111static inline void ata_acpi_associate(struct ata_host *host) { } 113static inline void ata_acpi_associate(struct ata_host *host) { }
112static inline int ata_acpi_on_suspend(struct ata_port *ap) { return 0; } 114static inline int ata_acpi_on_suspend(struct ata_port *ap) { return 0; }
113static inline void ata_acpi_on_resume(struct ata_port *ap) { } 115static inline void ata_acpi_on_resume(struct ata_port *ap) { }