Commit 5f563585 authored by Thierry Reding's avatar Thierry Reding Committed by Grant Likely

of: Fix padding in _OF_DECLARE macro definition

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarGrant Likely <grant.likely@linaro.org>
parent c0e848d8
...@@ -836,7 +836,7 @@ static inline int of_get_available_child_count(const struct device_node *np) ...@@ -836,7 +836,7 @@ static inline int of_get_available_child_count(const struct device_node *np)
= { .compatible = compat, \ = { .compatible = compat, \
.data = (fn == (fn_type)NULL) ? fn : fn } .data = (fn == (fn_type)NULL) ? fn : fn }
#else #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 \ static const struct of_device_id __of_table_##name \
__attribute__((unused)) \ __attribute__((unused)) \
= { .compatible = compat, \ = { .compatible = compat, \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment