]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit454277947790c7570c842fcefb2a8e4e24cb0a0d
tree0ffefee783b1645e413a8ffa6fb0b615c41862cc
parentf37a5b0322f521324222b28b0ea0c3359b29b6e8
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