]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
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)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:50:51 +0000 (13:50 +0200)
commit8472d18b5ece3c21b941f8e7591901600c1c162d
treeaa5eec826f28e529e1191b84e83c7840c269b87c
parent8d2c349ca743294618779cdec8c8b85c14d33d98
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