From: Yinghai Lu Date: Fri, 22 Jan 2010 09:02:26 +0000 (-0800) Subject: PCI: pciehp: cleanup flow in pciehp_configure_device X-Git-Tag: v2.6.34-rc1~287^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9789ac979b6b6ae6cc09f7b29c88e95ecb14ec39;p=pandora-kernel.git 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 Reviewed-by: Alex Chiang Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed