]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: pci: Extract vendor/device id in child_post_bind()
authorBin Meng <bmeng.cn@gmail.com>
Fri, 3 Aug 2018 08:14:36 +0000 (01:14 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 8 Aug 2018 11:49:31 +0000 (12:49 +0100)
commit1f6b08b969b345a83b63f481e50555536d89854f
tree91fd5c259087b4af8b5b5f71beded781b15b0e27
parent7b9cbaddd559830426443340fe4c7e1eacfec57d
dm: pci: Extract vendor/device id in child_post_bind()

Currently only devfn is extracted in child_post_bind(). Now that
we have the live-tree version API to look up PCI vendor and device
id from the compatible string, let's extract and save them too.

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