summaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-06 02:26:06 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-06 11:07:11 +0200
commit09de3473c7724d7a1db7596acc2ce411e5e72f63 (patch)
tree128cf2b46813096c666ac3f662bb526285042765 /drivers/regulator
parentregulator: max1586: Constify regulator_desc (diff)
downloadlinux-09de3473c7724d7a1db7596acc2ce411e5e72f63.tar.xz
linux-09de3473c7724d7a1db7596acc2ce411e5e72f63.zip
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')
-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,