diff options
Diffstat (limited to 'drivers/ide/pdc202xx_old.c')
-rw-r--r-- | drivers/ide/pdc202xx_old.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/pdc202xx_old.c b/drivers/ide/pdc202xx_old.c index 1d20594ee420..402aab7f3baa 100644 --- a/drivers/ide/pdc202xx_old.c +++ b/drivers/ide/pdc202xx_old.c | |||
@@ -76,9 +76,9 @@ static void pdc202xx_set_mode(ide_drive_t *drive, const u8 speed) | |||
76 | } | 76 | } |
77 | } | 77 | } |
78 | 78 | ||
79 | static void pdc202xx_set_pio_mode(ide_drive_t *drive, const u8 pio) | 79 | static void pdc202xx_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) |
80 | { | 80 | { |
81 | pdc202xx_set_mode(drive, XFER_PIO_0 + pio); | 81 | pdc202xx_set_mode(drive, drive->pio_mode); |
82 | } | 82 | } |
83 | 83 | ||
84 | static int pdc202xx_test_irq(ide_hwif_t *hwif) | 84 | static int pdc202xx_test_irq(ide_hwif_t *hwif) |