diff options
Diffstat (limited to 'drivers/pci/probe.c')
-rw-r--r-- | drivers/pci/probe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 284ef392c3ea..c2e99fd87faf 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c | |||
@@ -794,6 +794,7 @@ static void pci_release_dev(struct device *dev) | |||
794 | struct pci_dev *pci_dev; | 794 | struct pci_dev *pci_dev; |
795 | 795 | ||
796 | pci_dev = to_pci_dev(dev); | 796 | pci_dev = to_pci_dev(dev); |
797 | pci_vpd_release(pci_dev); | ||
797 | kfree(pci_dev); | 798 | kfree(pci_dev); |
798 | } | 799 | } |
799 | 800 | ||
@@ -933,6 +934,8 @@ pci_scan_device(struct pci_bus *bus, int devfn) | |||
933 | return NULL; | 934 | return NULL; |
934 | } | 935 | } |
935 | 936 | ||
937 | pci_vpd_pci22_init(dev); | ||
938 | |||
936 | return dev; | 939 | return dev; |
937 | } | 940 | } |
938 | 941 | ||