of: Fix padding in _OF_DECLARE macro definition
PATCH 1/1 of: Fix padding in _OF_DECLARE macro definition
From: Thierry Reding <[email protected]>
Signed-off-by Thierry Reding <[email protected]>
--- include/linux/of.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/of.h +1 -1
@@ -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
Grant Likely
AppliedQuoted 3 lines · Thierry Reding
From: Thierry Reding <[email protected]>
Signed-off-by 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@@ -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