aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/regulator/pfuze100-regulator.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/regulator/pfuze100-regulator.c b/drivers/regulator/pfuze100-regulator.c
index 67e678c4301c..b20304bae7ab 100644
--- a/drivers/regulator/pfuze100-regulator.c
+++ b/drivers/regulator/pfuze100-regulator.c
@@ -137,6 +137,8 @@ static struct regulator_ops pfuze100_sw_regulator_ops = {
137}; 137};
138 138
139static struct regulator_ops pfuze100_swb_regulator_ops = { 139static struct regulator_ops pfuze100_swb_regulator_ops = {
140 .enable = regulator_enable_regmap,
141 .disable = regulator_disable_regmap,
140 .list_voltage = regulator_list_voltage_table, 142 .list_voltage = regulator_list_voltage_table,
141 .map_voltage = regulator_map_voltage_ascend, 143 .map_voltage = regulator_map_voltage_ascend,
142 .set_voltage_sel = regulator_set_voltage_sel_regmap, 144 .set_voltage_sel = regulator_set_voltage_sel_regmap,
@@ -189,6 +191,8 @@ static struct regulator_ops pfuze100_swb_regulator_ops = {
189 .volt_table = voltages, \ 191 .volt_table = voltages, \
190 .vsel_reg = (base), \ 192 .vsel_reg = (base), \
191 .vsel_mask = (mask), \ 193 .vsel_mask = (mask), \
194 .enable_reg = (base), \
195 .enable_mask = 0x48, \
192 }, \ 196 }, \
193 } 197 }
194 198