diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-02 15:22:05 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-02 15:22:05 -0400 |
commit | 7e77718579f44d654e299c0fc2096b6b50f14458 (patch) | |
tree | eb52762b6a32c0cde43f201acc747fdd4192bf74 /drivers/ide/ide-iops.c | |
parent | 430c5d26eccb6293f7129805451cea15a3a12db3 (diff) |
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: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-iops.c')
-rw-r--r-- | drivers/ide/ide-iops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c index 01b92208f09d..e77cee0e5d65 100644 --- a/drivers/ide/ide-iops.c +++ b/drivers/ide/ide-iops.c | |||
@@ -658,7 +658,7 @@ int ide_driveid_update(ide_drive_t *drive) | |||
658 | local_irq_restore(flags); | 658 | local_irq_restore(flags); |
659 | return 0; | 659 | return 0; |
660 | } | 660 | } |
661 | ata_input_data(drive, id, SECTOR_WORDS); | 661 | hwif->ata_input_data(drive, id, SECTOR_WORDS); |
662 | (void)ide_read_status(drive); /* clear drive IRQ */ | 662 | (void)ide_read_status(drive); /* clear drive IRQ */ |
663 | local_irq_enable(); | 663 | local_irq_enable(); |
664 | local_irq_restore(flags); | 664 | local_irq_restore(flags); |