aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2008-02-01 17:09:30 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-01 17:09:30 -0500
commitecf32796395ed0e27667e7f735946d6dc60e1765 (patch)
tree0cafd743bd39148b85470c8fb6398b30dbce7ffd /include/linux/ide.h
parent4e5a68aeb6b513ee0adda11642e10e528b7721c0 (diff)
ide: ide_setup_dma() assumes 8 ports
According to http://marc.info/?l=linux-ide&m=114346138611631, the drivers must always register 8 DMA ports with ide_setup_dma(), so its last argument is not needed. While at it, kill some useless parens in that function... Signed-off-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 34542186fb15..f1a10c8380bd 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1155,7 +1155,7 @@ extern int ide_build_sglist(ide_drive_t *, struct request *);
1155extern int ide_build_dmatable(ide_drive_t *, struct request *); 1155extern int ide_build_dmatable(ide_drive_t *, struct request *);
1156extern void ide_destroy_dmatable(ide_drive_t *); 1156extern void ide_destroy_dmatable(ide_drive_t *);
1157extern int ide_release_dma(ide_hwif_t *); 1157extern int ide_release_dma(ide_hwif_t *);
1158extern void ide_setup_dma(ide_hwif_t *, unsigned long, unsigned int); 1158extern void ide_setup_dma(ide_hwif_t *, unsigned long);
1159 1159
1160void ide_dma_host_set(ide_drive_t *, int); 1160void ide_dma_host_set(ide_drive_t *, int);
1161extern int ide_dma_setup(ide_drive_t *); 1161extern int ide_dma_setup(ide_drive_t *);