|
@@ -61,7 +61,7 @@ static int rc5t583_regulator_enable_time(struct regulator_dev *rdev)
|
|
return DIV_ROUND_UP(curr_uV, reg->reg_info->enable_uv_per_us);
|
|
return DIV_ROUND_UP(curr_uV, reg->reg_info->enable_uv_per_us);
|
|
}
|
|
}
|
|
|
|
|
|
-static struct regulator_ops rc5t583_ops = {
|
|
|
|
|
|
+static const struct regulator_ops rc5t583_ops = {
|
|
.is_enabled = regulator_is_enabled_regmap,
|
|
.is_enabled = regulator_is_enabled_regmap,
|
|
.enable = regulator_enable_regmap,
|
|
.enable = regulator_enable_regmap,
|
|
.disable = regulator_disable_regmap,
|
|
.disable = regulator_disable_regmap,
|