of: Fix padding in _OF_DECLARE macro definition
Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Grant Likely <grant.likely@linaro.org>
This commit is contained in:
parent
c0e848d8b8
commit
5f563585ab
|
@ -836,7 +836,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, \
|
||||
|
|
Loading…
Reference in New Issue