dm: pci: Pass only device/function to pci_bus_find_devfn()
authorBin Meng <bmeng.cn@gmail.com>
Sat, 18 Jul 2015 16:20:05 +0000 (00:20 +0800)
committerSimon Glass <sjg@chromium.org>
Tue, 28 Jul 2015 16:36:23 +0000 (10:36 -0600)
commit8326f136da6dc496648b8aa75d9717e2e31adad0
tree77e20d2fdad73ff58f491e98a8cd624d4047fce3
parent4d8615cbf552843c6033daabf3495a1b7fc9dce7
dm: pci: Pass only device/function to pci_bus_find_devfn()

In dm_pci_hose_probe_bus(), pci_bus_find_devfn() is called with a bdf
which includes a bus number, but it really should not as this routine
only expects a device/function encoding.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
drivers/pci/pci-uclass.c