summaryrefslogtreecommitdiff
path: root/drivers/regulator/max8649.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-06 04:26:06 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-06 13:07:11 +0400
commit09de3473c7724d7a1db7596acc2ce411e5e72f63 (patch)
tree128cf2b46813096c666ac3f662bb526285042765 /drivers/regulator/max8649.c
parent0373bcff46c444d71bbff424d1060b550bab28ec (diff)
downloadlinux-09de3473c7724d7a1db7596acc2ce411e5e72f63.tar.xz
regulator: max8649: Constify regulator_desc
Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/max8649.c')
-rw-r--r--drivers/regulator/max8649.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/max8649.c b/drivers/regulator/max8649.c
index 824c650436ed..aa91ec60fa08 100644
--- a/drivers/regulator/max8649.c
+++ b/drivers/regulator/max8649.c
@@ -207,7 +207,7 @@ static struct regulator_ops max8649_dcdc_ops = {
};
-static struct regulator_desc dcdc_desc = {
+static const struct regulator_desc dcdc_desc = {
.name = "max8649",
.ops = &max8649_dcdc_ops,
.type = REGULATOR_VOLTAGE,