projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3119525
)
regulator: s2mps11: Constify regulator_desc array
author
Krzysztof Kozlowski
<k.kozlowski@samsung.com>
Fri, 28 Feb 2014 10:01:49 +0000
(11:01 +0100)
committer
Mark Brown
<broonie@linaro.org>
Mon, 3 Mar 2014 02:08:55 +0000
(10:08 +0800)
Constify the regulator_desc 'regulators' array.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/s2mps11.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/regulator/s2mps11.c
b/drivers/regulator/s2mps11.c
index 3647d590b962e7487282a0e95fe022c55899c2eb..189038aecbf5672b03e6f82a186092cc55c28b38 100644
(file)
--- 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),