commit | b639d51fff79fcf2327dc78f4c156a5dfd8a9152 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Nov 29 13:17:52 2015 -0700 |
committer | Simon Glass <sjg@chromium.org> | Tue Jan 12 10:19:09 2016 -0700 |
tree | aac75f8b2e09e09890e6a74ef7f5c3078b1d689f | |
parent | 7c3f62a62565f874f9de05722cb1350bef5392a2 [diff] |
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: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>