summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/wm8994-regulator.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-03 20:47:27 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-04 11:43:43 +0100
commit25e4d602f74cb849aa8a4e4b4d0486dc22da872b (patch)
treeb49b1edfa04cb2b8e008532250ceff243fce5d56 /drivers/regulator/wm8994-regulator.c
parent47924b6ae1c7a7fafd5d110fb1af9923c2d5e216 (diff)
downloadop-kernel-dev-25e4d602f74cb849aa8a4e4b4d0486dc22da872b.zip
op-kernel-dev-25e4d602f74cb849aa8a4e4b4d0486dc22da872b.tar.gz
regulator: wm8994: Constify regulator_desc
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/wm8994-regulator.c')
-rw-r--r--drivers/regulator/wm8994-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/wm8994-regulator.c b/drivers/regulator/wm8994-regulator.c
index 75ed402..8a4897a 100644
--- a/drivers/regulator/wm8994-regulator.c
+++ b/drivers/regulator/wm8994-regulator.c
@@ -209,7 +209,7 @@ static struct regulator_ops wm8994_ldo2_ops = {
.set_voltage = wm8994_ldo2_set_voltage,
};
-static struct regulator_desc wm8994_ldo_desc[] = {
+static const struct regulator_desc wm8994_ldo_desc[] = {
{
.name = "LDO1",
.id = 1,
OpenPOWER on IntegriCloud