kernel/drivers/ide/siimage.c
.. .. @@ -648,8 +648,7 @@ 648 648 649 649 static void init_iops_siimage(ide_hwif_t *hwif) 650 650 { 651 - struct pci_dev *dev = to_pci_dev(hwif->dev);652 - struct ide_host *host = pci_get_drvdata(dev);651 + struct ide_host *host = dev_get_drvdata(hwif->dev);653 652 654 653 hwif->hwif_data = NULL; 655 654