diff options
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 0665428356d3..80ea946282d7 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -1338,11 +1338,13 @@ extern int ide_acpi_exec_tfs(ide_drive_t *drive); | |||
1338 | extern void ide_acpi_get_timing(ide_hwif_t *hwif); | 1338 | extern void ide_acpi_get_timing(ide_hwif_t *hwif); |
1339 | extern void ide_acpi_push_timing(ide_hwif_t *hwif); | 1339 | extern void ide_acpi_push_timing(ide_hwif_t *hwif); |
1340 | extern void ide_acpi_init(ide_hwif_t *hwif); | 1340 | extern void ide_acpi_init(ide_hwif_t *hwif); |
1341 | extern void ide_acpi_set_state(ide_hwif_t *hwif, int on); | ||
1341 | #else | 1342 | #else |
1342 | static inline int ide_acpi_exec_tfs(ide_drive_t *drive) { return 0; } | 1343 | static inline int ide_acpi_exec_tfs(ide_drive_t *drive) { return 0; } |
1343 | static inline void ide_acpi_get_timing(ide_hwif_t *hwif) { ; } | 1344 | static inline void ide_acpi_get_timing(ide_hwif_t *hwif) { ; } |
1344 | static inline void ide_acpi_push_timing(ide_hwif_t *hwif) { ; } | 1345 | static inline void ide_acpi_push_timing(ide_hwif_t *hwif) { ; } |
1345 | static inline void ide_acpi_init(ide_hwif_t *hwif) { ; } | 1346 | static inline void ide_acpi_init(ide_hwif_t *hwif) { ; } |
1347 | static inline void ide_acpi_set_state(ide_hwif_t *hwif, int on) {} | ||
1346 | #endif | 1348 | #endif |
1347 | 1349 | ||
1348 | extern int ide_hwif_request_regions(ide_hwif_t *hwif); | 1350 | extern int ide_hwif_request_regions(ide_hwif_t *hwif); |