]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - drivers/ide/tc86c001.c
ide: change ->set_pio_mode method parameters
[mirror_ubuntu-hirsute-kernel.git] / drivers / ide / tc86c001.c
index 05a93d6baecc60edf3ba587ab26c0947907915aa..f2cb62bf3f22627efc31dced480ec504e9f0a11f 100644 (file)
@@ -41,9 +41,9 @@ static void tc86c001_set_mode(ide_drive_t *drive, const u8 speed)
        outw(scr, scr_port);
 }
 
-static void tc86c001_set_pio_mode(ide_drive_t *drive, const u8 pio)
+static void tc86c001_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive)
 {
-       tc86c001_set_mode(drive, XFER_PIO_0 + pio);
+       tc86c001_set_mode(drive, drive->pio_mode);
 }
 
 /*