projects
/
deliverable
/
linux.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()
[deliverable/linux.git]
/
drivers
/
ata
/
pata_hpt3x3.c
diff --git
a/drivers/ata/pata_hpt3x3.c
b/drivers/ata/pata_hpt3x3.c
index 76c9314bb82457cf950e72454765b79c23a12d14..85cf2861e0b7d217eaabd6ffa446a6446de84c72 100644
(file)
--- 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)
#ifdef CONFIG_PM
static int hpt3x3_reinit_one(struct pci_dev *dev)
{
- struct ata_host *host =
dev_get_drvdata(&dev->
dev);
+ struct ata_host *host =
pci_get_drvdata(
dev);
int rc;
rc = ata_pci_device_do_resume(dev);
This page took
0.023362 seconds
and
5
git commands to generate.