Просмотр исходного кода

regulator: max8649: Constify regulator_desc

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Axel Lin 13 лет назад
Родитель
Сommit
09de3473c7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      drivers/regulator/max8649.c

+ 1 - 1
drivers/regulator/max8649.c

@@ -207,7 +207,7 @@ static struct regulator_ops max8649_dcdc_ops = {
 
 };
 
-static struct regulator_desc dcdc_desc = {
+static const struct regulator_desc dcdc_desc = {
 	.name		= "max8649",
 	.ops		= &max8649_dcdc_ops,
 	.type		= REGULATOR_VOLTAGE,