ide: use ->ata_input_data in ide_driveid_update()
[sfrench/cifs-2.6.git] / drivers / ide / ide-iops.c
index 01b92208f09d4b8dbd23090ef31c2176eed4a665..e77cee0e5d65884f92f4ced39027afc9dcf0e79d 100644 (file)
@@ -658,7 +658,7 @@ int ide_driveid_update(ide_drive_t *drive)
                local_irq_restore(flags);
                return 0;
        }
-       ata_input_data(drive, id, SECTOR_WORDS);
+       hwif->ata_input_data(drive, id, SECTOR_WORDS);
        (void)ide_read_status(drive);   /* clear drive IRQ */
        local_irq_enable();
        local_irq_restore(flags);