summaryrefslogtreecommitdiff
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@trik.(none)>2004-10-20 02:06:01 +0200
committerBartlomiej Zolnierkiewicz <bzolnier@trik.(none)>2004-10-20 02:06:01 +0200
commit5a8191fbe506cae8e640c1d96e2ad5c46ccca001 (patch)
treead03a21221b70e4637547c248ff374748a041b7d /include/linux/ide.h
parente40ed6c72edad47e93fd69b2702317352f31cd21 (diff)
[ide] convert ide_hwif_t->ide_dma_begin() to ->dma_start()
Make ->ide_dma_begin() functions void and rename them to ->dma_start(). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index d1a78fe8a1ed..c05eb8673a4e 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -889,7 +889,7 @@ typedef struct hwif_s {
int (*dma_setup)(ide_drive_t *);
void (*dma_exec_cmd)(ide_drive_t *, u8);
- int (*ide_dma_begin)(ide_drive_t *drive);
+ void (*dma_start)(ide_drive_t *);
int (*ide_dma_end)(ide_drive_t *drive);
int (*ide_dma_check)(ide_drive_t *drive);
int (*ide_dma_on)(ide_drive_t *drive);
@@ -1551,7 +1551,7 @@ extern int __ide_dma_host_on(ide_drive_t *);
extern int __ide_dma_on(ide_drive_t *);
extern int __ide_dma_check(ide_drive_t *);
extern int ide_dma_setup(ide_drive_t *);
-extern int __ide_dma_begin(ide_drive_t *);
+extern void ide_dma_start(ide_drive_t *);
extern int __ide_dma_end(ide_drive_t *);
extern int __ide_dma_test_irq(ide_drive_t *);
extern int __ide_dma_verbose(ide_drive_t *);