diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 16:25:21 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 16:25:21 -0400 |
commit | b8e73fba60414e161d8fd2429b6fb268e34502e2 (patch) | |
tree | f426376c826ff1a8979a36eb6b5bde1addb7d719 /include/linux/ide.h | |
parent | 23658f8af3dbba53ae9796e4c37c2fdd0272662e (diff) |
ide: export ide_allocate_dma_engine()
Export ide_allocate_dma_engine() and use it in trm290 host driver.
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 989fe78b354f..b8a9d3b4d633 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -1155,7 +1155,8 @@ void ide_destroy_dmatable(ide_drive_t *); | |||
1155 | 1155 | ||
1156 | #ifdef CONFIG_BLK_DEV_IDEDMA_SFF | 1156 | #ifdef CONFIG_BLK_DEV_IDEDMA_SFF |
1157 | extern int ide_build_dmatable(ide_drive_t *, struct request *); | 1157 | extern int ide_build_dmatable(ide_drive_t *, struct request *); |
1158 | extern void ide_release_dma_engine(ide_hwif_t *); | 1158 | int ide_allocate_dma_engine(ide_hwif_t *); |
1159 | void ide_release_dma_engine(ide_hwif_t *); | ||
1159 | extern void ide_setup_dma(ide_hwif_t *, unsigned long); | 1160 | extern void ide_setup_dma(ide_hwif_t *, unsigned long); |
1160 | 1161 | ||
1161 | void ide_dma_host_set(ide_drive_t *, int); | 1162 | void ide_dma_host_set(ide_drive_t *, int); |