aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-iops.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide-iops.c')
-rw-r--r--drivers/ide/ide-iops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c
index b92304d0e79a..386080ee4608 100644
--- a/drivers/ide/ide-iops.c
+++ b/drivers/ide/ide-iops.c
@@ -451,7 +451,7 @@ EXPORT_SYMBOL(ide_fixstring);
451 */ 451 */
452int drive_is_ready (ide_drive_t *drive) 452int drive_is_ready (ide_drive_t *drive)
453{ 453{
454 ide_hwif_t *hwif = HWIF(drive); 454 ide_hwif_t *hwif = drive->hwif;
455 u8 stat = 0; 455 u8 stat = 0;
456 456
457 if (drive->waiting_for_dma) 457 if (drive->waiting_for_dma)
@@ -965,7 +965,7 @@ static void ide_reset_report_error(ide_hwif_t *hwif, u8 err)
965 */ 965 */
966static ide_startstop_t reset_pollfunc (ide_drive_t *drive) 966static ide_startstop_t reset_pollfunc (ide_drive_t *drive)
967{ 967{
968 ide_hwif_t *hwif = HWIF(drive); 968 ide_hwif_t *hwif = drive->hwif;
969 const struct ide_port_ops *port_ops = hwif->port_ops; 969 const struct ide_port_ops *port_ops = hwif->port_ops;
970 u8 tmp; 970 u8 tmp;
971 int err = 0; 971 int err = 0;