]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: pci: Add a driver-model version of pci_find_device()
authorSimon Glass <sjg@chromium.org>
Sun, 29 Nov 2015 20:17:50 +0000 (13:17 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 12 Jan 2016 17:19:09 +0000 (10:19 -0700)
commit5c0bf647c4e1659fdeb83a66f56ec27add72b561
tree0bec69f961eac0879e0c7e842214eb9b757b0f6e
parent5e23b8b4a4a63178015432a94617d937d8eb42cd
dm: pci: Add a driver-model version of pci_find_device()

Add a function which scans the driver model device information rather
than scanning the PCI bus again.

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