All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 64379079 authored by Bjorn Helgaas's avatar Bjorn Helgaas

PCI: Move pci_vpd_release() from header file to pci/access.c

Move pci_vpd_release() so it's next to the other VPD functions.  This puts
it next to pci_vpd_pci22_init(), which allocates the space freed by
Tested-by: default avatarShane Seymour <>
Tested-by: default avatarBabu Moger <>
Signed-off-by: default avatarBjorn Helgaas <>
Reviewed-by: default avatarHannes Reinecke <>
parent fc0a407e
......@@ -581,6 +581,12 @@ int pci_vpd_pci22_init(struct pci_dev *dev)
return 0;
void pci_vpd_release(struct pci_dev *dev)
if (dev->vpd)
* pci_cfg_access_lock - Lock PCI config reads/writes
* @dev: pci device struct
......@@ -107,11 +107,7 @@ struct pci_vpd {
int pci_vpd_pci22_init(struct pci_dev *dev);
static inline void pci_vpd_release(struct pci_dev *dev)
if (dev->vpd)
void pci_vpd_release(struct pci_dev *dev);
/* PCI /proc functions */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment