sparc/PCI: Claim bus resources before pci_bus_add_devices()
authorYijing Wang <wangyijing@huawei.com>
Thu, 12 Mar 2015 20:05:56 +0000 (15:05 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 19 Mar 2015 15:17:20 +0000 (10:17 -0500)
Pci_claim_bus_resources() should be called before pci_bus_add_devices(), or
driver may failed to load, because the resources had not claimed.

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/sparc/kernel/pci.c

Simple merge