mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
regulator: Staticize 'regulator_states' array
The 'regulator_states' array is used only in this unit and it is not exported. Make it static. This also fixes following sparse warning: drivers/regulator/of_regulator.c:22:12: warning: symbol 'regulator_states' was not declared. Should it be static? Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
4eafec83aa
commit
f32fa89ca9
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include "internal.h"
|
||||
|
||||
const char *const regulator_states[PM_SUSPEND_MAX + 1] = {
|
||||
static const char *const regulator_states[PM_SUSPEND_MAX + 1] = {
|
||||
[PM_SUSPEND_MEM] = "regulator-state-mem",
|
||||
[PM_SUSPEND_MAX] = "regulator-state-disk",
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue