]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ide/sis5513.c
Fix longstanding "error: storage size of '__mod_dmi_device_table' isn't known"
[linux-2.6-omap-h63xx.git] / drivers / ide / sis5513.c
index ad32e18c5ba368abbc8f5925181845c78b262df3..9ec1a4a4432cd17fd1e967f48de375066499e3ea 100644 (file)
@@ -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;