commit | 902d0f0953d0074b329a2780a4b637fae0d776da | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Wed Jul 27 14:55:53 2016 +0200 |
committer | David Gibson <david@gibson.dropbear.id.au> | Thu Jul 28 15:27:57 2016 +1000 |
tree | b949e0bd1468a5c583680b6c59501ab0abe85a2f | |
parent | c539075ba8ba61fffbf7e005ce2e834868a9e0ab [diff] |
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: Thierry Reding <treding@nvidia.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>