diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2011-10-28 18:26:05 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2012-01-06 15:10:55 -0500 |
commit | 7e00fe2e53fd3a1540febcb2d2bee9d0b2eea507 (patch) | |
tree | 48af088a8e81080f94159e7988a4c0493d456b8f /drivers/pci/probe.c | |
parent | 1e39ae9f9035ee02e014b5fe29461674fe19624d (diff) |
PCI: deprecate pci_scan_bus_parented()
Users of pci_scan_bus_parented() should be converted to use either
pci_scan_root_bus() (preferred, but also calls pci_bus_add_devices)
or
pci_create_root_bus()
pci_scan_child_bus()
Since pci_scan_bus_parented(), I'm marking it deprecated now and will
actually remove it later.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/probe.c')
-rw-r--r-- | drivers/pci/probe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 04c2dc709276..944ea2170f48 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c | |||
@@ -1637,6 +1637,7 @@ struct pci_bus *pci_create_bus(struct device *parent, | |||
1637 | return b; | 1637 | return b; |
1638 | } | 1638 | } |
1639 | 1639 | ||
1640 | /* Deprecated; use pci_scan_root_bus() instead */ | ||
1640 | struct pci_bus * __devinit pci_scan_bus_parented(struct device *parent, | 1641 | struct pci_bus * __devinit pci_scan_bus_parented(struct device *parent, |
1641 | int bus, struct pci_ops *ops, void *sysdata) | 1642 | int bus, struct pci_ops *ops, void *sysdata) |
1642 | { | 1643 | { |