]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ide/cs5520.c
Merge branch 'master' of /pub/scm/linux/kernel/git/torvalds/linux-2.6
[linux-2.6-omap-h63xx.git] / drivers / ide / cs5520.c
index 5efb467f8fa0009fa257e9e6a41de1afa3e3f630..d003bec56ff9f51c7c5839e83e79e317b9608eac 100644 (file)
@@ -59,7 +59,7 @@ static struct pio_clocks cs5520_pio_clocks[]={
 
 static void cs5520_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 *pdev = to_pci_dev(hwif->dev);
        int controller = drive->dn > 1 ? 1 : 0;