diff options
author | Keir Fraser <keir@xen.org> | 2010-12-14 09:53:41 +0000 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2010-12-14 09:53:41 +0000 |
commit | ae33959c12092e3b9cc6a72a79722b942ad725f6 (patch) | |
tree | ce14b7d22f3ef0c974c7c19503f9e38572386ff2 /xen/include/xen/pci.h | |
parent | 3bc257c211c341a39cc25d93e2058f6f78c347a4 (diff) | |
download | xen-ae33959c12092e3b9cc6a72a79722b942ad725f6.tar.gz xen-ae33959c12092e3b9cc6a72a79722b942ad725f6.tar.bz2 xen-ae33959c12092e3b9cc6a72a79722b942ad725f6.zip |
amd-iov: eliminate open-coded PCI bus scan
Instead, use scan_pci_devices() just like VT-d does. This at once
allows making {alloc,free}_pdev() static.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/include/xen/pci.h')
-rw-r--r-- | xen/include/xen/pci.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/xen/include/xen/pci.h b/xen/include/xen/pci.h index 727884e98d..40c9847335 100644 --- a/xen/include/xen/pci.h +++ b/xen/include/xen/pci.h @@ -82,8 +82,6 @@ int pci_device_detect(u8 bus, u8 dev, u8 func); int scan_pci_devices(void); int pdev_type(u8 bus, u8 devfn); int find_upstream_bridge(u8 *bus, u8 *devfn, u8 *secbus); -struct pci_dev *alloc_pdev(u8 bus, u8 devfn); -void free_pdev(struct pci_dev *pdev); struct pci_dev *pci_lock_pdev(int bus, int devfn); struct pci_dev *pci_lock_domain_pdev(struct domain *d, int bus, int devfn); |