diff options
Diffstat (limited to 'drivers/ata/libata.h')
-rw-r--r-- | drivers/ata/libata.h | 14 |
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 |
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_exec_tfs(struct ata_port *ap); | 102 | extern void ata_acpi_on_resume(struct ata_port *ap); |
103 | extern int ata_acpi_push_id(struct ata_device *dev); | 103 | extern int ata_acpi_on_devcfg(struct ata_device *adev); |
104 | #else | 104 | #else |
105 | static inline void ata_acpi_associate(struct ata_host *host) { } | 105 | static inline void ata_acpi_associate(struct ata_host *host) { } |
106 | static inline int ata_acpi_exec_tfs(struct ata_port *ap) | 106 | static inline void ata_acpi_on_resume(struct ata_port *ap) { } |
107 | { | 107 | static inline int ata_acpi_on_devcfg(struct ata_device *adev) { return 0; } |
108 | return 0; | ||
109 | } | ||
110 | static 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 */ |