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 5e2466658420..29037cd7c651 100644
--- a/drivers/ata/libata.h
+++ b/drivers/ata/libata.h
@@ -98,9 +98,11 @@ extern struct ata_port *ata_port_alloc(struct ata_host *host);
98 98
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 int ata_acpi_exec_tfs(struct ata_port *ap); 102extern int ata_acpi_exec_tfs(struct ata_port *ap);
102extern int ata_acpi_push_id(struct ata_device *dev); 103extern int ata_acpi_push_id(struct ata_device *dev);
103#else 104#else
105static inline void ata_acpi_associate(struct ata_host *host) { }
104static inline int ata_acpi_exec_tfs(struct ata_port *ap) 106static inline int ata_acpi_exec_tfs(struct ata_port *ap)
105{ 107{
106 return 0; 108 return 0;