summaryrefslogtreecommitdiffstats
path: root/drivers/ide/sis5513.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-01-06 17:20:52 +0100
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-01-06 17:20:52 +0100
commit898ec223fea2a2df88035e58dbf50f493577e225 (patch)
tree93e6a4b6a4f518f15743786751cd39b9715f5558 /drivers/ide/sis5513.c
parentb40d1b88f1001f0224c63fa2c008914514bcef33 (diff)
downloadop-kernel-dev-898ec223fea2a2df88035e58dbf50f493577e225.zip
op-kernel-dev-898ec223fea2a2df88035e58dbf50f493577e225.tar.gz
ide: remove HWIF() macro
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/sis5513.c')
-rw-r--r--drivers/ide/sis5513.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/sis5513.c b/drivers/ide/sis5513.c
index ad32e18..9ec1a4a 100644
--- a/drivers/ide/sis5513.c
+++ b/drivers/ide/sis5513.c
@@ -274,7 +274,7 @@ static void sis_program_timings(ide_drive_t *drive, const u8 mode)
static void config_drive_art_rwp(ide_drive_t *drive)
{
- ide_hwif_t *hwif = HWIF(drive);
+ ide_hwif_t *hwif = drive->hwif;
struct pci_dev *dev = to_pci_dev(hwif->dev);
u8 reg4bh = 0;
u8 rw_prefetch = 0;
OpenPOWER on IntegriCloud