commit | 04c8b6afa22e29900762c0c105fc592586d9cb0e | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Aug 10 07:05:04 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Fri Aug 14 03:24:21 2015 -0600 |
tree | f249db33f5aab55cca438a4eac045d96b6560d3d | |
parent | 94ef242f6ca209e8c434e36efbd0dd911dec2a27 [diff] |
dm: pci: Add a way to iterate through all PCI devices These functions allow iteration through all PCI devices including bridges. The children of each PCI bus are returned in turn. This can be useful for configuring, checking or enumerating all the devices. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>