sparc/PCI: Claim bus resources before pci_bus_add_devices()

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>
This commit is contained in:
Yijing Wang 2015-03-12 15:05:56 -05:00 • committed by Bjorn Helgaas
commit a0c8a4d9f9