From: Duc Dang Date: Fri, 7 Nov 2014 01:14:18 +0000 (-0800) Subject: PCI: xgene: Assign resources to bus before adding new devices X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~88^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=336b5be2c56f3cf2252f5a39d344ef67cf9bdf7a;p=pandora-kernel.git PCI: xgene: Assign resources to bus before adding new devices The X-Gene PCIe driver assumes pci_scan_root_bus() assigns resources as proposed in [1]. But we dropped patch [1] because it would break some architectures, which means the X-Gene PCIe driver is currently broken. Add calls to scan the bus, assign resources, and add devices in the X-Gene driver to fix this. [bhelgaas: changelog] [1] http://lkml.kernel.org/r/1412000971-9242-11-git-send-email-Liviu.Dudau@arm.com Signed-off-by: Duc Dang Signed-off-by: Tanmay Inamdar Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed