summaryrefslogtreecommitdiff
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2011-10-29 02:28:24 +0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2012-01-07 00:11:15 +0400
commit118faafaf987f521832843d36c6be580983f9a6b (patch)
tree56e9146fa7b4777f29977989884f912a68432e9f /include/linux/pci.h
parent7ec303a7247a46a7a88a4f890466fd12dbdd5dc6 (diff)
downloadlinux-118faafaf987f521832843d36c6be580983f9a6b.tar.xz
PCI: remove pci_create_bus()
All users of pci_create_bus() have been converted to pci_create_root_bus(), so remove it. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index ff280e08690f..174fe8aabdde 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -668,8 +668,6 @@ struct pci_bus *pci_create_root_bus(struct device *parent, int bus,
struct pci_bus * __devinit pci_scan_root_bus(struct device *parent, int bus,
struct pci_ops *ops, void *sysdata,
struct list_head *resources);
-struct pci_bus *pci_create_bus(struct device *parent, int bus,
- struct pci_ops *ops, void *sysdata);
struct pci_bus *pci_add_new_bus(struct pci_bus *parent, struct pci_dev *dev,
int busnr);
void pcie_update_link_speed(struct pci_bus *bus, u16 link_status);