]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: add ofnode_for_each_compatible_node()
authorMichael Walle <michael@walle.cc>
Fri, 15 Oct 2021 13:15:17 +0000 (15:15 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 9 Nov 2021 11:48:23 +0000 (17:18 +0530)
commitb8ec9458a35167ab689b3ebfba169f520e1064c4
treed7e10831dcf8c70ed074603959be06692c42c983
parentc7155d29fb041143e33e0b2d691699e614d84936
dm: core: add ofnode_for_each_compatible_node()

Add a helper to iterate over all nodes with a given compatible string.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
include/dm/ofnode.h