|
@@ -864,7 +864,7 @@ static struct regulator_ops twlsmps_ops = {
|
|
.desc = { \
|
|
.desc = { \
|
|
.name = #label, \
|
|
.name = #label, \
|
|
.id = TWL6030_REG_##label, \
|
|
.id = TWL6030_REG_##label, \
|
|
- .n_voltages = (max_mVolts - min_mVolts)/100, \
|
|
|
|
|
|
+ .n_voltages = (max_mVolts - min_mVolts)/100 + 1, \
|
|
.ops = &twl6030ldo_ops, \
|
|
.ops = &twl6030ldo_ops, \
|
|
.type = REGULATOR_VOLTAGE, \
|
|
.type = REGULATOR_VOLTAGE, \
|
|
.owner = THIS_MODULE, \
|
|
.owner = THIS_MODULE, \
|