ide: move ide_config_drive_speed() calls to upper layers (take 2)
[powerpc.git] / drivers / ide / ide.c
index a96a8b1..5c0e407 100644 (file)
@@ -397,7 +397,7 @@ static void ide_hwif_restore(ide_hwif_t *hwif, ide_hwif_t *tmp_hwif)
 #endif
 
        hwif->set_pio_mode              = tmp_hwif->set_pio_mode;
-       hwif->speedproc                 = tmp_hwif->speedproc;
+       hwif->set_dma_mode              = tmp_hwif->set_dma_mode;
        hwif->mdma_filter               = tmp_hwif->mdma_filter;
        hwif->udma_filter               = tmp_hwif->udma_filter;
        hwif->selectproc                = tmp_hwif->selectproc;