aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_atp867x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_atp867x.c')
-rw-r--r--drivers/ata/pata_atp867x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_atp867x.c b/drivers/ata/pata_atp867x.c
index 041f50d53240..2ca5026f2c15 100644
--- a/drivers/ata/pata_atp867x.c
+++ b/drivers/ata/pata_atp867x.c
@@ -534,7 +534,7 @@ err_out:
534#ifdef CONFIG_PM 534#ifdef CONFIG_PM
535static int atp867x_reinit_one(struct pci_dev *pdev) 535static int atp867x_reinit_one(struct pci_dev *pdev)
536{ 536{
537 struct ata_host *host = dev_get_drvdata(&pdev->dev); 537 struct ata_host *host = pci_get_drvdata(pdev);
538 int rc; 538 int rc;
539 539
540 rc = ata_pci_device_do_resume(pdev); 540 rc = ata_pci_device_do_resume(pdev);