diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-02-16 20:40:26 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-02-16 20:40:26 -0500 |
commit | ccf352894ceef79d40d015e1deee4c46c3aa42ed (patch) | |
tree | e30b2b8a4c30e2ef1719ce9780322e671ebe3c43 /drivers/ide/cris | |
parent | 7469aaf6a30f4187ed6de7c0aed5c2dd2d1c2d31 (diff) |
ide: make ide_hwif_t.ide_dma_host_on void (v2)
* since ide_hwif_t.ide_dma_host_on is called either when drive->using_dma == 1
or when return value is discarded make it void, also drop "ide_" prefix
* make __ide_dma_host_on() void and drop "__" prefix
v2:
* while at it rename atiixp_ide_dma_host_on() to atiixp_dma_host_on()
and sgiioc4_ide_dma_host_on() to sgiioc4_dma_host_on().
[ Noticed by Sergei Shtylyov <sshtylyov@ru.mvista.com>. ]
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/cris')
-rw-r--r-- | drivers/ide/cris/ide-cris.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/cris/ide-cris.c b/drivers/ide/cris/ide-cris.c index c81b2719bca6..6b2d152351b3 100644 --- a/drivers/ide/cris/ide-cris.c +++ b/drivers/ide/cris/ide-cris.c | |||
@@ -818,7 +818,7 @@ init_e100_ide (void) | |||
818 | hwif->INB = &cris_ide_inb; | 818 | hwif->INB = &cris_ide_inb; |
819 | hwif->INW = &cris_ide_inw; | 819 | hwif->INW = &cris_ide_inw; |
820 | hwif->dma_host_off = &cris_dma_off; | 820 | hwif->dma_host_off = &cris_dma_off; |
821 | hwif->ide_dma_host_on = &cris_dma_on; | 821 | hwif->dma_host_on = &cris_dma_on; |
822 | hwif->dma_off_quietly = &cris_dma_off; | 822 | hwif->dma_off_quietly = &cris_dma_off; |
823 | hwif->udma_four = 0; | 823 | hwif->udma_four = 0; |
824 | hwif->ultra_mask = cris_ultra_mask; | 824 | hwif->ultra_mask = cris_ultra_mask; |