diff options
author | Nathan Chancellor <natechancellor@gmail.com> | 2019-05-22 18:26:29 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-05-23 14:35:14 +0100 |
commit | 59dec1f0fac8107f3bffaa0051afce795e24c3e4 (patch) | |
tree | 5648747e6f1df0993fc71d7f5e1c5a14898df333 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 27b1b58fcfe72fd6b53a83b0dccb678e6b6faab8 (diff) |
regulator: max77650: Move max77651_SBB1_desc's declaration down
Clang warns:
drivers/regulator/max77650-regulator.c:32:39: warning: tentative
definition of variable with internal linkage has incomplete non-array
type 'struct max77650_regulator_desc'
[-Wtentative-definition-incomplete-type]
static struct max77650_regulator_desc max77651_SBB1_desc;
^
drivers/regulator/max77650-regulator.c:32:15: note: forward declaration
of 'struct max77650_regulator_desc'
static struct max77650_regulator_desc max77651_SBB1_desc;
^
1 warning generated.
Move max77651_SBB1_desc's declaration below max77650_regulator_desc's
definition so this warning does not happen.
Fixes: 3df4235ac41c ("regulator: max77650: Convert MAX77651 SBB1 to pickable linear range")
Link: https://github.com/ClangBuiltLinux/linux/issues/491
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions