Skip to contentSkip to conversation

of: Fix padding in _OF_DECLARE macro definition

PATCH Applied Thierry Reding 2 participants 2 messages Oct 2, 2014 – Nov 4, 2014 Device tree

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 of: Fix padding in _OF_DECLARE macro definition

From: Thierry Reding <[email protected]>

---
 include/linux/of.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/of.h +1 -1
index 6c4363b8ddc3..951e9ee7d3e0 100644
@@ -772,7 +772,7 @@ static inline int of_get_available_child_count(const struct device_node *np)
 		 = { .compatible = compat,				\
 		     .data = (fn == (fn_type)NULL) ? fn : fn  }
 #else
-#define _OF_DECLARE(table, name, compat, fn, fn_type)					\
+#define _OF_DECLARE(table, name, compat, fn, fn_type)			\
 	static const struct of_device_id __of_table_##name		\
 		__attribute__((unused))					\
 		 = { .compatible = compat,				\
Signature · 6 lines
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Applied
#1 lore raw
Quoted 3 lines · Thierry Reding

From: Thierry Reding <[email protected]>

Applied, thanks.

g.

Quoted 20 lines
---
 include/linux/of.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/of.h +1 -1
index 6c4363b8ddc3..951e9ee7d3e0 100644
@@ -772,7 +772,7 @@ static inline int of_get_available_child_count(const struct device_node *np)
 		 = { .compatible = compat,				\
 		     .data = (fn == (fn_type)NULL) ? fn : fn  }
 #else
-#define _OF_DECLARE(table, name, compat, fn, fn_type)					\
+#define _OF_DECLARE(table, name, compat, fn, fn_type)			\
 	static const struct of_device_id __of_table_##name		\
 		__attribute__((unused))					\
 		 = { .compatible = compat,				\
Signature · 1 line
2.1.0