diff options
Diffstat (limited to 'drivers/ata/pata_cs5530.c')
-rw-r--r-- | drivers/ata/pata_cs5530.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_cs5530.c b/drivers/ata/pata_cs5530.c index 48389ae0b330..f07f2296acdc 100644 --- a/drivers/ata/pata_cs5530.c +++ b/drivers/ata/pata_cs5530.c | |||
@@ -330,7 +330,7 @@ static int cs5530_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
330 | #ifdef CONFIG_PM | 330 | #ifdef CONFIG_PM |
331 | static int cs5530_reinit_one(struct pci_dev *pdev) | 331 | static int cs5530_reinit_one(struct pci_dev *pdev) |
332 | { | 332 | { |
333 | struct ata_host *host = dev_get_drvdata(&pdev->dev); | 333 | struct ata_host *host = pci_get_drvdata(pdev); |
334 | int rc; | 334 | int rc; |
335 | 335 | ||
336 | rc = ata_pci_device_do_resume(pdev); | 336 | rc = ata_pci_device_do_resume(pdev); |