summaryrefslogtreecommitdiff
path: root/drivers/regulator/max8660.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-06 08:26:59 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-06 10:06:44 +0100
commit621adb30ace17799f24d17b1df1aa0f69081f71b (patch)
treef3d3fe770b6d120cc15bd504b43c5ec21523b52a /drivers/regulator/max8660.c
parent0d2fbc519e5c2e30a4d2d225a3fd795303ba7caa (diff)
downloadlwn-621adb30ace17799f24d17b1df1aa0f69081f71b.tar.gz
lwn-621adb30ace17799f24d17b1df1aa0f69081f71b.zip
regulator: max8660: 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/max8660.c')
-rw-r--r--drivers/regulator/max8660.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/max8660.c b/drivers/regulator/max8660.c
index 4c5b05311f47..880bd56a2a92 100644
--- a/drivers/regulator/max8660.c
+++ b/drivers/regulator/max8660.c
@@ -313,7 +313,7 @@ static struct regulator_ops max8660_ldo67_ops = {
.set_voltage = max8660_ldo67_set,
};
-static struct regulator_desc max8660_reg[] = {
+static const struct regulator_desc max8660_reg[] = {
{
.name = "V3(DCDC)",
.id = MAX8660_V3,