dm: pci: Add a driver-model version of pci_find_class()
Add a function which scans the driver model device information rather than scanning the PCI bus again. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NBin Meng <bmeng.cn@gmail.com> Tested-by: NBin Meng <bmeng.cn@gmail.com>
Showing
想要评论请 注册 或 登录