diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-01-06 11:20:52 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-01-06 11:20:52 -0500 |
commit | 898ec223fea2a2df88035e58dbf50f493577e225 (patch) | |
tree | 93e6a4b6a4f518f15743786751cd39b9715f5558 /drivers/ide/ide-iops.c | |
parent | b40d1b88f1001f0224c63fa2c008914514bcef33 (diff) |
ide: remove HWIF() macro
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-iops.c')
-rw-r--r-- | drivers/ide/ide-iops.c | 4 |
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 | */ |
452 | int drive_is_ready (ide_drive_t *drive) | 452 | int 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 | */ |
966 | static ide_startstop_t reset_pollfunc (ide_drive_t *drive) | 966 | static 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; |