diff options
author | Aaron Durbin <adurbin@chromium.org> | 2018-07-25 08:49:19 -0600 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2018-07-26 15:35:44 +0000 |
commit | a0dabd1848e3e857fe6b6b882278a96b62614ba2 (patch) | |
tree | 407a1cc09543c91f0499ccd9c8abd3ffbe211136 /src/include/option.h | |
parent | 8c2852420c0f46ab3986697a93e0f941d53f49b3 (diff) |
device: add child traversal helper function
Add a function, dev_bus_each_child(), which walks through all the
children for a given bus of a device. This helper allows one to
walk through all the children of a given device's bus.
BUG=b:111808427,b:111743717
TEST=built
Change-Id: Iedceb0d19c05b7abd5a48f8dc30f85461bef5ec6
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/27636
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Diffstat (limited to 'src/include/option.h')
0 files changed, 0 insertions, 0 deletions