소스 검색

regulator: lp3972: Constify regulator_desc

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Axel Lin 13 년 전
부모
커밋
1bdcf11052
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      drivers/regulator/lp3972.c

+ 1 - 1
drivers/regulator/lp3972.c

@@ -471,7 +471,7 @@ static struct regulator_ops lp3972_dcdc_ops = {
 	.set_voltage = lp3972_dcdc_set_voltage,
 };
 
-static struct regulator_desc regulators[] = {
+static const struct regulator_desc regulators[] = {
 	{
 		.name = "LDO1",
 		.id = LP3972_LDO1,