forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 95099d4622f8cb224d94e314c7a8e0df60b13f87
kernel/drivers/regulator/tps62360-regulator.c
....@@ -233,7 +233,7 @@
233233 REGULATOR_MODE_FAST : REGULATOR_MODE_NORMAL;
234234 }
235235
236
-static struct regulator_ops tps62360_dcdc_ops = {
236
+static const struct regulator_ops tps62360_dcdc_ops = {
237237 .get_voltage_sel = tps62360_dcdc_get_voltage_sel,
238238 .set_voltage_sel = tps62360_dcdc_set_voltage_sel,
239239 .list_voltage = regulator_list_voltage_linear,