summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-03 21:47:15 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-04 12:43:35 +0200
commit47924b6ae1c7a7fafd5d110fb1af9923c2d5e216 (patch)
tree1aee30a01ebed529bea84381d4821419a90de3c2 /drivers
parentregulator: core: Constify the regulator_desc passed in when registering (diff)
downloadlinux-47924b6ae1c7a7fafd5d110fb1af9923c2d5e216.tar.xz
linux-47924b6ae1c7a7fafd5d110fb1af9923c2d5e216.zip
regulator: wm8350: Constify regulator_desc
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers')
-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 ab1e183a74b5..552b1edf8091 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,