]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ide/cy82c693.c
x86, 32-bit: refactor find_low_pfn_range()
[linux-2.6-omap-h63xx.git] / drivers / ide / cy82c693.c
index d37baf8ecc5fd54adc2645883b93721bd72da00b..74fc5401f407cbe06bfa1ee99c48b627c1072e25 100644 (file)
@@ -203,7 +203,7 @@ static void cy82c693_set_dma_mode(ide_drive_t *drive, const u8 mode)
 
 static void cy82c693_set_pio_mode(ide_drive_t *drive, const u8 pio)
 {
-       ide_hwif_t *hwif = HWIF(drive);
+       ide_hwif_t *hwif = drive->hwif;
        struct pci_dev *dev = to_pci_dev(hwif->dev);
        pio_clocks_t pclk;
        unsigned int addrCtrl;