projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ata: use pci_get_drvdata()
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
ata
/
pata_sil680.c
diff --git
a/drivers/ata/pata_sil680.c
b/drivers/ata/pata_sil680.c
index 64c5f0d0f81279cad0fb8226b85da5dfdeafe08f..c4b0b073ba8e8c7d13512a2c6930b987ba1a4745 100644
(file)
--- a/
drivers/ata/pata_sil680.c
+++ b/
drivers/ata/pata_sil680.c
@@
-407,7
+407,7
@@
use_ioports:
#ifdef CONFIG_PM
static int sil680_reinit_one(struct pci_dev *pdev)
{
- struct ata_host *host =
dev_get_drvdata(&pdev->
dev);
+ struct ata_host *host =
pci_get_drvdata(p
dev);
int try_mmio, rc;
rc = ata_pci_device_do_resume(pdev);