ide: unexport ide_set_xfer_rate() (v2)
In cmd64x, siimage and scc_pata drivers: * don't set drive->init_speed as it should be already set by successful execution of ide_set_xfer_rate() * use hwif->speedproc functions directly Above changes allows removal of EXPORT_SYMBOL_GPL(ide_set_xfer_rate). v2: * updated for scc_pata driver Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
@@ -396,12 +396,9 @@ static int config_chipset_for_dma (ide_drive_t *drive)
|
||||
if (!speed)
|
||||
return 0;
|
||||
|
||||
if (ide_set_xfer_rate(drive, speed))
|
||||
if (siimage_tune_chipset(drive, speed))
|
||||
return 0;
|
||||
|
||||
if (!drive->init_speed)
|
||||
drive->init_speed = speed;
|
||||
|
||||
return ide_dma_enable(drive);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user