aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 9f195078ff99..e33e307d9410 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1202,12 +1202,14 @@ extern int ide_acpi_exec_tfs(ide_drive_t *drive);
1202extern void ide_acpi_get_timing(ide_hwif_t *hwif); 1202extern void ide_acpi_get_timing(ide_hwif_t *hwif);
1203extern void ide_acpi_push_timing(ide_hwif_t *hwif); 1203extern void ide_acpi_push_timing(ide_hwif_t *hwif);
1204extern void ide_acpi_init(ide_hwif_t *hwif); 1204extern void ide_acpi_init(ide_hwif_t *hwif);
1205void ide_acpi_port_init_devices(ide_hwif_t *);
1205extern void ide_acpi_set_state(ide_hwif_t *hwif, int on); 1206extern void ide_acpi_set_state(ide_hwif_t *hwif, int on);
1206#else 1207#else
1207static inline int ide_acpi_exec_tfs(ide_drive_t *drive) { return 0; } 1208static inline int ide_acpi_exec_tfs(ide_drive_t *drive) { return 0; }
1208static inline void ide_acpi_get_timing(ide_hwif_t *hwif) { ; } 1209static inline void ide_acpi_get_timing(ide_hwif_t *hwif) { ; }
1209static inline void ide_acpi_push_timing(ide_hwif_t *hwif) { ; } 1210static inline void ide_acpi_push_timing(ide_hwif_t *hwif) { ; }
1210static inline void ide_acpi_init(ide_hwif_t *hwif) { ; } 1211static inline void ide_acpi_init(ide_hwif_t *hwif) { ; }
1212static inline void ide_acpi_port_init_devices(ide_hwif_t *hwif) { ; }
1211static inline void ide_acpi_set_state(ide_hwif_t *hwif, int on) {} 1213static inline void ide_acpi_set_state(ide_hwif_t *hwif, int on) {}
1212#endif 1214#endif
1213 1215