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

index 75ed402d9f43587553790bdf9b17f7aa15fc56b6..8a4897a35f28af1b869545a56da20d6a8a4a98eb 100644 (file)
@@ -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,