forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/regulator/sc2731-regulator.c
....@@ -146,7 +146,7 @@
146146 .vsel_mask = vmask, \
147147 }
148148
149
-static struct regulator_desc regulators[] = {
149
+static const struct regulator_desc regulators[] = {
150150 SC2731_REGU_LINEAR(BUCK_CPU0, SC2731_POWER_PD_SW,
151151 SC2731_DCDC_CPU0_PD_MASK, SC2731_DCDC_CPU0_VOL,
152152 SC2731_DCDC_CPU0_VOL_MASK, 3125, 400000, 1996875),