]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: pci: Optimize pci_uclass_post_bind()
authorBin Meng <bmeng.cn@gmail.com>
Mon, 24 Aug 2015 08:14:01 +0000 (01:14 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 26 Aug 2015 14:54:17 +0000 (07:54 -0700)
commit1887ed3ad6509a4ce411b7981dd27515e0c44bb7
tree4286417dc632afe5eb84acfd7b1c29315804b9ed
parent3242998e24b899540790077f8bbde447f4c039c6
dm: pci: Optimize pci_uclass_post_bind()

If there is no pci device listed in the device tree,
don't bother scanning the device tree.

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