aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-26 16:25:21 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-26 16:25:21 -0400
commitb8e73fba60414e161d8fd2429b6fb268e34502e2 (patch)
treef426376c826ff1a8979a36eb6b5bde1addb7d719 /include/linux/ide.h
parent23658f8af3dbba53ae9796e4c37c2fdd0272662e (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.h3
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
1157extern int ide_build_dmatable(ide_drive_t *, struct request *); 1157extern int ide_build_dmatable(ide_drive_t *, struct request *);
1158extern void ide_release_dma_engine(ide_hwif_t *); 1158int ide_allocate_dma_engine(ide_hwif_t *);
1159void ide_release_dma_engine(ide_hwif_t *);
1159extern void ide_setup_dma(ide_hwif_t *, unsigned long); 1160extern void ide_setup_dma(ide_hwif_t *, unsigned long);
1160 1161
1161void ide_dma_host_set(ide_drive_t *, int); 1162void ide_dma_host_set(ide_drive_t *, int);