[PATCH 1/2] OF: fix typo in for_each_compatible_node()

Trent Piepho tpiepho at kymetacorp.com
Mon Jan 4 11:01:21 PST 2016


Missing closing parenthesis.

Signed-off-by: Trent Piepho <tpiepho at kymetacorp.com>
---
 include/of.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/of.h b/include/of.h
index 18c92d7..75cc3c1 100644
--- a/include/of.h
+++ b/include/of.h
@@ -647,7 +647,7 @@ static inline struct device_node *of_find_node_by_path_or_alias(
 	     dn = of_find_compatible_node(dn, type, compatible))
 /* Iterate over compatible nodes in default device tree */
 #define for_each_compatible_node(dn, type, compatible) \
-        for_each_compatible_node_from(dn, NULL, type, compatible
+        for_each_compatible_node_from(dn, NULL, type, compatible)
 static inline struct device_node *of_find_matching_node(
 	struct device_node *from,
 	const struct of_device_id *matches)
-- 
1.8.3.1




More information about the barebox mailing list