kernel/drivers/regulator/sc2731-regulator.c
.. .. @@ -146,7 +146,7 @@ 146 146 .vsel_mask = vmask, \ 147 147 } 148 148 149 -static struct regulator_desc regulators[] = {149 +static const struct regulator_desc regulators[] = {150 150 SC2731_REGU_LINEAR(BUCK_CPU0, SC2731_POWER_PD_SW, 151 151 SC2731_DCDC_CPU0_PD_MASK, SC2731_DCDC_CPU0_VOL, 152 152 SC2731_DCDC_CPU0_VOL_MASK, 3125, 400000, 1996875),