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.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h
index 29037cd7c651..bee7cbc4c97c 100644
--- a/drivers/ata/libata.h
+++ b/drivers/ata/libata.h
@@ -99,18 +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
101extern void ata_acpi_associate(struct ata_host *host); 101extern void ata_acpi_associate(struct ata_host *host);
102extern int ata_acpi_exec_tfs(struct ata_port *ap); 102extern void ata_acpi_on_resume(struct ata_port *ap);
103extern int ata_acpi_push_id(struct ata_device *dev); 103extern int ata_acpi_on_devcfg(struct ata_device *adev);
104#else 104#else
105static inline void ata_acpi_associate(struct ata_host *host) { } 105static inline void ata_acpi_associate(struct ata_host *host) { }
106static inline int ata_acpi_exec_tfs(struct ata_port *ap) 106static inline void ata_acpi_on_resume(struct ata_port *ap) { }
107{ 107static inline int ata_acpi_on_devcfg(struct ata_device *adev) { return 0; }
108 return 0;
109}
110static inline int ata_acpi_push_id(struct ata_device *dev)
111{
112 return 0;
113}
114#endif 108#endif
115 109
116/* libata-scsi.c */ 110/* libata-scsi.c */