ata: use pci_get_drvdata()
[deliverable/linux.git] / drivers / ata / pata_atp867x.c
index 041f50d532403e9f34f61d888b8bfd70d304aac9..2ca5026f2c150f9e83b37e48e8227e944a18253f 100644 (file)
@@ -534,7 +534,7 @@ err_out:
 #ifdef CONFIG_PM
 static int atp867x_reinit_one(struct pci_dev *pdev)
 {
-       struct ata_host *host = dev_get_drvdata(&pdev->dev);
+       struct ata_host *host = pci_get_drvdata(pdev);
        int rc;
 
        rc = ata_pci_device_do_resume(pdev);
This page took 0.023937 seconds and 5 git commands to generate.