diff options
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 5102d74f6bfc..ff280e08690f 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -661,15 +661,7 @@ extern struct pci_bus *pci_find_bus(int domain, int busnr); | |||
661 | void pci_bus_add_devices(const struct pci_bus *bus); | 661 | void pci_bus_add_devices(const struct pci_bus *bus); |
662 | struct pci_bus *pci_scan_bus_parented(struct device *parent, int bus, | 662 | struct pci_bus *pci_scan_bus_parented(struct device *parent, int bus, |
663 | struct pci_ops *ops, void *sysdata); | 663 | struct pci_ops *ops, void *sysdata); |
664 | static inline struct pci_bus * __devinit pci_scan_bus(int bus, struct pci_ops *ops, | 664 | struct pci_bus *pci_scan_bus(int bus, struct pci_ops *ops, void *sysdata); |
665 | void *sysdata) | ||
666 | { | ||
667 | struct pci_bus *root_bus; | ||
668 | root_bus = pci_scan_bus_parented(NULL, bus, ops, sysdata); | ||
669 | if (root_bus) | ||
670 | pci_bus_add_devices(root_bus); | ||
671 | return root_bus; | ||
672 | } | ||
673 | struct pci_bus *pci_create_root_bus(struct device *parent, int bus, | 665 | struct pci_bus *pci_create_root_bus(struct device *parent, int bus, |
674 | struct pci_ops *ops, void *sysdata, | 666 | struct pci_ops *ops, void *sysdata, |
675 | struct list_head *resources); | 667 | struct list_head *resources); |