X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=drivers%2Fata%2Fpata_hpt366.c;fp=drivers%2Fata%2Fpata_hpt366.c;h=35b521348d311fbb7b2921618e348661a57edfb6;hb=0a86e1c857134efe2cdb31d74bc7ea21721db494;hp=4be884a9f5edc6537e1eac71232654315da301ba;hpb=f6e984e63638e3bfb0f13f603a0e972a6da07deb;p=sfrench%2Fcifs-2.6.git diff --git a/drivers/ata/pata_hpt366.c b/drivers/ata/pata_hpt366.c index 4be884a9f5ed..35b521348d31 100644 --- a/drivers/ata/pata_hpt366.c +++ b/drivers/ata/pata_hpt366.c @@ -390,7 +390,7 @@ static int hpt36x_init_one(struct pci_dev *dev, const struct pci_device_id *id) #ifdef CONFIG_PM static int hpt36x_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);