aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_hpt3x3.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_hpt3x3.c')
-rw-r--r--drivers/ata/pata_hpt3x3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_hpt3x3.c b/drivers/ata/pata_hpt3x3.c
index 76c9314bb824..85cf2861e0b7 100644
--- a/drivers/ata/pata_hpt3x3.c
+++ b/drivers/ata/pata_hpt3x3.c
@@ -253,7 +253,7 @@ static int hpt3x3_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
253#ifdef CONFIG_PM 253#ifdef CONFIG_PM
254static int hpt3x3_reinit_one(struct pci_dev *dev) 254static int hpt3x3_reinit_one(struct pci_dev *dev)
255{ 255{
256 struct ata_host *host = dev_get_drvdata(&dev->dev); 256 struct ata_host *host = pci_get_drvdata(dev);
257 int rc; 257 int rc;
258 258
259 rc = ata_pci_device_do_resume(dev); 259 rc = ata_pci_device_do_resume(dev);