ide: use ->ata_input_data in ide_driveid_update()

Use ->ata_input_data method instead of calling ata_input_data() directly.

Currently it matters only for (broken) ide-cris host driver but it may
change in the future.
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <>
parent 430c5d26
......@@ -658,7 +658,7 @@ int ide_driveid_update(ide_drive_t *drive)
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 */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment