ide: merge ->dma_host_{on,off} methods into ->dma_host_set method
Merge ->dma_host_{on,off} methods into ->dma_host_set method which takes 'int on' argument. 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>
This commit is contained in:
@@ -833,7 +833,7 @@ static void probe_hwif(ide_hwif_t *hwif)
|
||||
|
||||
drive->nice1 = 1;
|
||||
|
||||
if (hwif->dma_host_on)
|
||||
if (hwif->dma_host_set)
|
||||
ide_set_dma(drive);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user