diff options
Diffstat (limited to 'drivers/ide/hpt366.c')
-rw-r--r-- | drivers/ide/hpt366.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/hpt366.c b/drivers/ide/hpt366.c index 4d90ac2dbb1b..f1dec519a9e6 100644 --- a/drivers/ide/hpt366.c +++ b/drivers/ide/hpt366.c | |||
@@ -651,9 +651,9 @@ static void hpt3xx_set_mode(ide_drive_t *drive, const u8 speed) | |||
651 | pci_write_config_dword(dev, itr_addr, new_itr); | 651 | pci_write_config_dword(dev, itr_addr, new_itr); |
652 | } | 652 | } |
653 | 653 | ||
654 | static void hpt3xx_set_pio_mode(ide_drive_t *drive, const u8 pio) | 654 | static void hpt3xx_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) |
655 | { | 655 | { |
656 | hpt3xx_set_mode(drive, XFER_PIO_0 + pio); | 656 | hpt3xx_set_mode(drive, drive->pio_mode); |
657 | } | 657 | } |
658 | 658 | ||
659 | static void hpt3xx_maskproc(ide_drive_t *drive, int mask) | 659 | static void hpt3xx_maskproc(ide_drive_t *drive, int mask) |