]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/ide/pci/hpt366.c
ide: drop "PIO data" argument from ide_get_best_pio_mode()
[karo-tx-linux.git] / drivers / ide / pci / hpt366.c
index 182346a04f36feaf5043b902f88e730eea7a0cb8..0a3fe9471eb62143dfb7df20cb1c6b15cc180e44 100644 (file)
@@ -652,7 +652,7 @@ static int hpt3xx_tune_chipset(ide_drive_t *drive, u8 speed)
 
 static void hpt3xx_tune_drive(ide_drive_t *drive, u8 pio)
 {
-       pio = ide_get_best_pio_mode(drive, pio, 4, NULL);
+       pio = ide_get_best_pio_mode(drive, pio, 4);
        (void) hpt3xx_tune_chipset (drive, XFER_PIO_0 + pio);
 }