commit | 069155cbb44c1e9e45676ac64e3c95f76a8d5820 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Thu Oct 01 00:36:01 2015 -0700 |
committer | Simon Glass <sjg@chromium.org> | Wed Oct 21 07:46:25 2015 -0600 |
tree | 4b65baa374c5bd285b4653deaf400e99aa017b2c | |
parent | af67e7ce237fa0956168efca7909458d4ea93d4b [diff] |
dm: pci: Fix pci_last_busno() to return the real last bus no Currently pci_last_busno() only checks the last bridge device under the first UCLASS_PCI device. This is not the case when there are multiple bridge devices. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>