regulator: wm8994: Constify regulator_desc
Mark Brown [Tue, 3 Apr 2012 19:47:27 +0000 (20:47 +0100)]
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

drivers/regulator/wm8994-regulator.c

index 75ed402..8a4897a 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,