summaryrefslogtreecommitdiff
path: root/drivers/regulator/bcm590xx-regulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/bcm590xx-regulator.c')
-rw-r--r--drivers/regulator/bcm590xx-regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/bcm590xx-regulator.c b/drivers/regulator/bcm590xx-regulator.c
index ab08ca7cfb08..c3750c5b382b 100644
--- a/drivers/regulator/bcm590xx-regulator.c
+++ b/drivers/regulator/bcm590xx-regulator.c
@@ -123,6 +123,7 @@ struct bcm590xx_info {
#define BCM590XX_REG_RANGES(_name, _ranges) \
{ \
.name = #_name, \
+ .n_voltages = 64, \
.n_linear_ranges = ARRAY_SIZE(_ranges), \
.linear_ranges = _ranges, \
}