浏览代码

regulator: wm8994: Constify regulator_desc

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown 13 年之前
父节点
当前提交
25e4d602f7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/regulator/wm8994-regulator.c

+ 1 - 1
drivers/regulator/wm8994-regulator.c

@@ -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,