diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-02-28 11:01:49 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-03 10:08:55 +0800 |
commit | 219ef031de434591bb6c85d22701ce8b23c4b1a4 (patch) | |
tree | b29383e4ceddebac6b1e84a0b0e5495fd5d6a23d /drivers/regulator/s2mps11.c | |
parent | 3119525203149fc11ce9f48131afdf9795d7a4ea (diff) |
regulator: s2mps11: Constify regulator_desc array
Constify the regulator_desc 'regulators' array.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator/s2mps11.c')
-rw-r--r-- | drivers/regulator/s2mps11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/s2mps11.c b/drivers/regulator/s2mps11.c index 3647d590b96..189038aecbf 100644 --- a/drivers/regulator/s2mps11.c +++ b/drivers/regulator/s2mps11.c @@ -343,7 +343,7 @@ static struct regulator_ops s2mps11_buck_ops = { .enable_mask = S2MPS11_ENABLE_MASK \ } -static struct regulator_desc regulators[] = { +static const struct regulator_desc regulators[] = { regulator_desc_ldo2(1), regulator_desc_ldo1(2), regulator_desc_ldo1(3), |