]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/ide/ppc/pmac.c
ide: drop "PIO data" argument from ide_get_best_pio_mode()
[karo-tx-linux.git] / drivers / ide / ppc / pmac.c
index 669330521fc1509497a0d61f85f60725dd1ccdff..debaa8823f517073b64b0e7f96877ae43a80d377 100644 (file)
@@ -627,7 +627,7 @@ pmac_ide_tuneproc(ide_drive_t *drive, u8 pio)
        /* which drive is it ? */
        timings = &pmif->timings[drive->select.b.unit & 0x01];
 
-       pio = ide_get_best_pio_mode(drive, pio, 4, NULL);
+       pio = ide_get_best_pio_mode(drive, pio, 4);
        cycle_time = ide_pio_cycle_time(drive, pio);
 
        switch (pmif->kind) {