diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-13 15:39:46 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-13 15:39:46 -0400 |
commit | de23ec9ca82357e6d337a2263befb1a65cf19c83 (patch) | |
tree | 69bb25051df73e9815696245f613e54e0fc501f3 /include/linux/ide.h | |
parent | 653bcf5292a9ac4ffc07315198f0ef995e0646a8 (diff) |
ide: make ide_dma_lost_irq() available also for CONFIG_BLK_DEV_IDEDMA_SFF=n
Make ide_dma_lost_irq() available also for CONFIG_BLK_DEV_IDEDMA_SFF=n
and convert {ics,au1xxx-}ide.c to use it.
While at it:
- use EXPORT_SYMBOL_GPL() to match the rest of SFF DMA functions
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 22f7451f7b49..ae4a25d2b066 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -1437,11 +1437,12 @@ void ide_dma_exec_cmd(ide_drive_t *, u8); | |||
1437 | extern void ide_dma_start(ide_drive_t *); | 1437 | extern void ide_dma_start(ide_drive_t *); |
1438 | int ide_dma_end(ide_drive_t *); | 1438 | int ide_dma_end(ide_drive_t *); |
1439 | int ide_dma_test_irq(ide_drive_t *); | 1439 | int ide_dma_test_irq(ide_drive_t *); |
1440 | extern void ide_dma_lost_irq(ide_drive_t *); | ||
1441 | extern void ide_dma_timeout(ide_drive_t *); | 1440 | extern void ide_dma_timeout(ide_drive_t *); |
1442 | extern const struct ide_dma_ops sff_dma_ops; | 1441 | extern const struct ide_dma_ops sff_dma_ops; |
1443 | #endif /* CONFIG_BLK_DEV_IDEDMA_SFF */ | 1442 | #endif /* CONFIG_BLK_DEV_IDEDMA_SFF */ |
1444 | 1443 | ||
1444 | void ide_dma_lost_irq(ide_drive_t *); | ||
1445 | |||
1445 | #else | 1446 | #else |
1446 | static inline int ide_id_dma_bug(ide_drive_t *drive) { return 0; } | 1447 | static inline int ide_id_dma_bug(ide_drive_t *drive) { return 0; } |
1447 | static inline u8 ide_find_dma_mode(ide_drive_t *drive, u8 speed) { return 0; } | 1448 | static inline u8 ide_find_dma_mode(ide_drive_t *drive, u8 speed) { return 0; } |