regulator: wm8350: Constify regulator_desc
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 3 Apr 2012 19:47:15 +0000 (20:47 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 4 Apr 2012 10:43:35 +0000 (11:43 +0100)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/wm8350-regulator.c

index ab1e183a74b51e3fcf779b4a07782d935e683105..552b1edf8091ac23ed10ca62941b479e31bedf99 100644 (file)
@@ -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,