diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-26 14:13:01 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-26 14:13:01 -0500 |
commit | 4a546e046d562bcd389149591fa5a534c8f832ca (patch) | |
tree | ffc5c7bd088a0bf74744721b9cfcf18220a75fdf /drivers/ide/ide-probe.c | |
parent | 378f577f7f75aa18a0eeafb044a491dcd5aeaa3d (diff) |
ide: remove ->ide_dma_on and ->dma_off_quietly methods from ide_hwif_t
* Make ide_dma_off_quietly() and __ide_dma_on() always available.
* Drop "__" prefix from __ide_dma_on().
* Check for presence of ->dma_host_on instead of ->ide_dma_on.
* Convert all users of ->ide_dma_on and ->dma_off_quietly methods
to use ide_dma_on() and ide_dma_off_quietly() instead.
* Remove no longer needed ->ide_dma_on and ->dma_off_quietly methods
from ide_hwif_t.
* Make ide_dma_on() void.
There should be no functionality changes caused by this patch.
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-probe.c')
-rw-r--r-- | drivers/ide/ide-probe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 0379d1f697cf..b363a96607d1 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c | |||
@@ -833,7 +833,7 @@ static void probe_hwif(ide_hwif_t *hwif) | |||
833 | 833 | ||
834 | drive->nice1 = 1; | 834 | drive->nice1 = 1; |
835 | 835 | ||
836 | if (hwif->ide_dma_on) | 836 | if (hwif->dma_host_on) |
837 | ide_set_dma(drive); | 837 | ide_set_dma(drive); |
838 | } | 838 | } |
839 | } | 839 | } |