aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_inic162x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/sata_inic162x.c')
-rw-r--r--drivers/ata/sata_inic162x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_inic162x.c b/drivers/ata/sata_inic162x.c
index 1e6827c89429..e45131748248 100644
--- a/drivers/ata/sata_inic162x.c
+++ b/drivers/ata/sata_inic162x.c
@@ -776,7 +776,7 @@ static int init_controller(void __iomem *mmio_base, u16 hctl)
776#ifdef CONFIG_PM 776#ifdef CONFIG_PM
777static int inic_pci_device_resume(struct pci_dev *pdev) 777static int inic_pci_device_resume(struct pci_dev *pdev)
778{ 778{
779 struct ata_host *host = dev_get_drvdata(&pdev->dev); 779 struct ata_host *host = pci_get_drvdata(pdev);
780 struct inic_host_priv *hpriv = host->private_data; 780 struct inic_host_priv *hpriv = host->private_data;
781 int rc; 781 int rc;
782 782