]> git.baikalelectronics.ru Git - uboot.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)
commitb1c81bb995c1d9a65e98731beb24b7280a3dbcc9
tree91fd5c259087b4af8b5b5f71beded781b15b0e27
parentf2f6af9a3f92c46a499d86193bdce28589fab90b
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