aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r--drivers/ide/ide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c
index 629383dd37db..694d997ce50f 100644
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -413,7 +413,7 @@ void ide_unregister(unsigned int index)
413 spin_lock_irq(&ide_lock); 413 spin_lock_irq(&ide_lock);
414 414
415 if (hwif->dma_base) 415 if (hwif->dma_base)
416 (void)ide_release_dma(hwif); 416 ide_release_dma_engine(hwif);
417 417
418 /* restore hwif data to pristine status */ 418 /* restore hwif data to pristine status */
419 ide_init_port_data(hwif, index); 419 ide_init_port_data(hwif, index);