X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fide%2Fcs5520.c;h=d003bec56ff9f51c7c5839e83e79e317b9608eac;hb=d88316c243e5458a1888edbe0353c4dec6e61c73;hp=5efb467f8fa0009fa257e9e6a41de1afa3e3f630;hpb=cf76dddb22c019f03ada6479210f894f19bd591b;p=linux-2.6-omap-h63xx.git diff --git a/drivers/ide/cs5520.c b/drivers/ide/cs5520.c index 5efb467f8fa..d003bec56ff 100644 --- a/drivers/ide/cs5520.c +++ b/drivers/ide/cs5520.c @@ -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;