aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/pcihp_skeleton.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2010-01-22 01:02:26 -0800
committerJesse Barnes <jbarnes@virtuousgeek.org>2010-02-22 16:17:24 -0800
commit9789ac979b6b6ae6cc09f7b29c88e95ecb14ec39 (patch)
treead77f238e5ee0971767079276b1fd43e11457264 /drivers/pci/hotplug/pcihp_skeleton.c
parent6841ec681a88b66651e4563040b9c7a7ad25d7b5 (diff)
downloadkernel_samsung_smdk4412-9789ac979b6b6ae6cc09f7b29c88e95ecb14ec39.zip
kernel_samsung_smdk4412-9789ac979b6b6ae6cc09f7b29c88e95ecb14ec39.tar.gz
kernel_samsung_smdk4412-9789ac979b6b6ae6cc09f7b29c88e95ecb14ec39.tar.bz2
PCI: pciehp: cleanup flow in pciehp_configure_device
Move bus_size_bridges and assign resources out of pciehp_add_bridge() and do them all together, one time, including slot bridge, to avoid to calling assign resources several times when there are several bridges under the slot bridge. Using pci_assign_unassigned_bridge_resources. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Reviewed-by: Alex Chiang <achiang@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/hotplug/pcihp_skeleton.c')
0 files changed, 0 insertions, 0 deletions