]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: pci: Save devfn without bus number in pci_uclass_child_post_bind()
authorBin Meng <bmeng.cn@gmail.com>
Thu, 20 Aug 2015 13:40:26 +0000 (06:40 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 26 Aug 2015 14:54:13 +0000 (07:54 -0700)
commitdce54dd6c70e6af9a1b506ed45c0cfc9a90fcc92
tree6d12b18cdf8f365643ed7089022ebbde3305fa99
parentbc6351eb48c116e9d38329c06f7e5a87ea8ec8ac
dm: pci: Save devfn without bus number in pci_uclass_child_post_bind()

In pci_uclass_child_post_bind(), bdf is extracted from fdt_pci_addr.
Mask bus number before save it to pplat->devfn.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/pci/pci-uclass.c