PCI: factor pci_bus_add_child() from pci_bus_add_devices()
authorYu Zhao <yu.zhao@intel.com>
Fri, 21 Nov 2008 18:42:35 +0000 (02:42 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 19:13:06 +0000 (11:13 -0800)
commit876e501ab25dcd683574a5d3d56d8fe450083ed6
tree0ffefee783b1645e413a8ffa6fb0b615c41862cc
parent3fa16fdb48e0d83c2acf46e357548c89891df58b
PCI: factor pci_bus_add_child() from pci_bus_add_devices()

This patch splits a new function, pci_bus_add_child(), from
pci_bus_add_devices(). The new function can be used to register PCI
buses to the device core.

Signed-off-by: Yu Zhao <yu.zhao@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/bus.c
drivers/pci/pci.h