aboutsummaryrefslogtreecommitdiff
path: root/include/pci.h
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2017-09-12 14:56:17 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-09-12 23:04:07 -0500
commit179cf18558aac35c2eaf2c9e473baad05c654285 (patch)
tree65c26cf7bdbc18d406dfff8f57916ea23339c908 /include/pci.h
parenta321db713d059b2eb43118848ef7e9b2191fd0ff (diff)
downloadskiboot-179cf18558aac35c2eaf2c9e473baad05c654285.zip
skiboot-179cf18558aac35c2eaf2c9e473baad05c654285.tar.gz
skiboot-179cf18558aac35c2eaf2c9e473baad05c654285.tar.bz2
pci: Make pci_wait_crs() global
We are going need pci_wait_crs() in the PHB4 code so make it global. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/pci.h')
-rw-r--r--include/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pci.h b/include/pci.h
index 884ce62..d75c8d1 100644
--- a/include/pci.h
+++ b/include/pci.h
@@ -425,6 +425,7 @@ extern int64_t pci_find_cap(struct phb *phb, uint16_t bdfn, uint8_t cap);
extern int64_t pci_find_ecap(struct phb *phb, uint16_t bdfn, uint16_t cap,
uint8_t *version);
extern void pci_init_capabilities(struct phb *phb, struct pci_device *pd);
+extern bool pci_wait_crs(struct phb *phb, uint16_t bdfn, uint32_t *out_vdid);
extern void pci_device_init(struct phb *phb, struct pci_device *pd);
extern struct pci_device *pci_walk_dev(struct phb *phb,
struct pci_device *pd,