summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/leon_pci.c
diff options
context:
space:
mode:
authorYijing Wang <wangyijing@huawei.com>2015-03-12 21:05:56 +0100
committerBjorn Helgaas <bhelgaas@google.com>2015-03-19 16:17:20 +0100
commita0c8a4d9f92d1ecd053eaa0e6cde7b4f24af97a8 (patch)
treed2146f255cc3fc4bfa18e7b5bea0cd1bbb09ae55 /arch/sparc/kernel/leon_pci.c
parentPCI: Assign resources before drivers claim devices (pci_scan_root_bus()) (diff)
downloadlinux-a0c8a4d9f92d1ecd053eaa0e6cde7b4f24af97a8.tar.xz
linux-a0c8a4d9f92d1ecd053eaa0e6cde7b4f24af97a8.zip
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>
Diffstat (limited to 'arch/sparc/kernel/leon_pci.c')
0 files changed, 0 insertions, 0 deletions