X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fide%2Ftriflex.c;h=8773c3ba7462d9f07dfb5bb7a1b2707e3a437972;hb=62899a28008d635f25c3408b4cc46021f0cb34d3;hp=b6ff40336aa993c5960bc4754cb0dec40793ee32;hpb=24924f884cd36603615ea5496244e542b0b513c6;p=linux-2.6-omap-h63xx.git diff --git a/drivers/ide/triflex.c b/drivers/ide/triflex.c index b6ff40336aa..8773c3ba746 100644 --- a/drivers/ide/triflex.c +++ b/drivers/ide/triflex.c @@ -36,7 +36,7 @@ static void triflex_set_mode(ide_drive_t *drive, const u8 speed) { - ide_hwif_t *hwif = HWIF(drive); + ide_hwif_t *hwif = drive->hwif; struct pci_dev *dev = to_pci_dev(hwif->dev); u32 triflex_timings = 0; u16 timing = 0;