]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ide/triflex.c
Revert "driver core: move knode_driver into private structure"
[linux-2.6-omap-h63xx.git] / drivers / ide / triflex.c
index b6ff40336aa993c5960bc4754cb0dec40793ee32..8773c3ba7462d9f07dfb5bb7a1b2707e3a437972 100644 (file)
@@ -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;