Commit 902d0f09 authored by Thierry Reding's avatar Thierry Reding Committed by David Gibson
Browse files

libfdt: Add a subnodes iterator macro



The fdt_for_each_subnode() iterator macro provided by this patch can be
used to iterate over a device tree node's subnodes. At each iteration a
loop variable will be set to the next subnode.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent c539075b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment