]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ide/pci/sl82c105.c
ide: ide_dev_has_iordy() -> ata_id_has_iordy()
[linux-2.6-omap-h63xx.git] / drivers / ide / pci / sl82c105.c
index 61a006cb474655a09e26ff401e919a9c3d66f8d5..8cc4e137c608b5d9c78e5eec113fd0b4cdf4cbc9 100644 (file)
@@ -61,7 +61,7 @@ static unsigned int get_pio_timings(ide_drive_t *drive, u8 pio)
        if (cmd_off == 0)
                cmd_off = 1;
 
-       if (pio > 2 || ide_dev_has_iordy(drive->id))
+       if (pio > 2 || ata_id_has_iordy(drive->id))
                iordy = 0x40;
 
        return (cmd_on - 1) << 8 | (cmd_off - 1) | iordy;