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 23ab4dc05009..d03fa2d5d75a 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -1277,6 +1277,7 @@ int __ide_dma_bad_drive(ide_drive_t *); | |||
1277 | int __ide_dma_good_drive(ide_drive_t *); | 1277 | int __ide_dma_good_drive(ide_drive_t *); |
1278 | int ide_use_dma(ide_drive_t *); | 1278 | int ide_use_dma(ide_drive_t *); |
1279 | u8 ide_max_dma_mode(ide_drive_t *); | 1279 | u8 ide_max_dma_mode(ide_drive_t *); |
1280 | int ide_tune_dma(ide_drive_t *); | ||
1280 | void ide_dma_off(ide_drive_t *); | 1281 | void ide_dma_off(ide_drive_t *); |
1281 | void ide_dma_verbose(ide_drive_t *); | 1282 | void ide_dma_verbose(ide_drive_t *); |
1282 | int ide_set_dma(ide_drive_t *); | 1283 | int ide_set_dma(ide_drive_t *); |
@@ -1304,6 +1305,7 @@ extern int __ide_dma_timeout(ide_drive_t *); | |||
1304 | #else | 1305 | #else |
1305 | static inline int ide_use_dma(ide_drive_t *drive) { return 0; } | 1306 | static inline int ide_use_dma(ide_drive_t *drive) { return 0; } |
1306 | static inline u8 ide_max_dma_mode(ide_drive_t *drive) { return 0; } | 1307 | static inline u8 ide_max_dma_mode(ide_drive_t *drive) { return 0; } |
1308 | static inline int ide_tune_dma(ide_drive_t *drive) { return 0; } | ||
1307 | static inline void ide_dma_off(ide_drive_t *drive) { ; } | 1309 | static inline void ide_dma_off(ide_drive_t *drive) { ; } |
1308 | static inline void ide_dma_verbose(ide_drive_t *drive) { ; } | 1310 | static inline void ide_dma_verbose(ide_drive_t *drive) { ; } |
1309 | static inline int ide_set_dma(ide_drive_t *drive) { return 1; } | 1311 | static inline int ide_set_dma(ide_drive_t *drive) { return 1; } |