diff options
author | Tim Kryger <tim.kryger@linaro.org> | 2014-04-11 00:04:00 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-11 02:10:36 +0400 |
commit | 1e7914058e3533d905618dd00a36499c8d29e7be (patch) | |
tree | 39e4df315f2dc6493696657170c6292a767e77f1 /drivers | |
parent | 5481b348e80fb280ff9eaa17ad99a5b592c7e145 (diff) | |
download | linux-1e7914058e3533d905618dd00a36499c8d29e7be.tar.xz |
regulator: bcm590xx: Set n_voltages for linear reg
Fix the macro used to define linear range regulators to include the
number of voltages.
Signed-off-by: Tim Kryger <tim.kryger@linaro.org>
Acked-by: Matt Porter <mporter@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/regulator/bcm590xx-regulator.c | 1 |
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, \ } |