|
@@ -210,7 +210,7 @@ static int pcap_regulator_is_enabled(struct regulator_dev *rdev)
|
|
|
return (tmp >> vreg->en) & 1;
|
|
|
}
|
|
|
|
|
|
-static struct regulator_ops pcap_regulator_ops = {
|
|
|
+static const struct regulator_ops pcap_regulator_ops = {
|
|
|
.list_voltage = regulator_list_voltage_table,
|
|
|
.set_voltage_sel = pcap_regulator_set_voltage_sel,
|
|
|
.get_voltage_sel = pcap_regulator_get_voltage_sel,
|