aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-10-02 16:01:10 +0200
committerAlex Shi <alex.shi@linaro.org>2015-12-16 15:09:14 +0800
commitfa0913420bc5e19e5de644ee6d833136b626bd02 (patch)
treeb3dacc8645c9e05885cb2d3855c1811a0ee6230c
parentaee5ea184bfbade41bca92f5d3787a111fd8d1d8 (diff)
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> (cherry picked from commit 5f563585ab0afa8c35b3627d65c07966f7a5080e) Signed-off-by: Alex Shi <alex.shi@linaro.org>
-rw-r--r--include/linux/of.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/of.h b/include/linux/of.h
index 36c4603635ca..ae5bf17f7012 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -851,7 +851,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, \