forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
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),