summaryrefslogtreecommitdiff
path: root/drivers/regulator/wm8350-regulator.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-03 19:47:15 (GMT)
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-04 10:43:35 (GMT)
commit47924b6ae1c7a7fafd5d110fb1af9923c2d5e216 (patch)
tree1aee30a01ebed529bea84381d4821419a90de3c2 /drivers/regulator/wm8350-regulator.c
parent65f26846b90611742f3b407cc538a1cad33abde8 (diff)
downloadlinux-47924b6ae1c7a7fafd5d110fb1af9923c2d5e216.tar.xz
regulator: wm8350: Constify regulator_desc
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/wm8350-regulator.c')
-rw-r--r--drivers/regulator/wm8350-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/wm8350-regulator.c b/drivers/regulator/wm8350-regulator.c
index ab1e183..552b1ed 100644
--- a/drivers/regulator/wm8350-regulator.c
+++ b/drivers/regulator/wm8350-regulator.c
@@ -1269,7 +1269,7 @@ static struct regulator_ops wm8350_isink_ops = {
.enable_time = wm8350_isink_enable_time,
};
-static struct regulator_desc wm8350_reg[NUM_WM8350_REGULATORS] = {
+static const struct regulator_desc wm8350_reg[NUM_WM8350_REGULATORS] = {
{
.name = "DCDC1",
.id = WM8350_DCDC_1,