projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5481b34
)
regulator: bcm590xx: Set n_voltages for linear reg
author
Tim Kryger
<tim.kryger@linaro.org>
Thu, 10 Apr 2014 20:04:00 +0000
(13:04 -0700)
committer
Mark Brown
<broonie@linaro.org>
Thu, 10 Apr 2014 22:10:36 +0000
(23:10 +0100)
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>
drivers/regulator/bcm590xx-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/bcm590xx-regulator.c
b/drivers/regulator/bcm590xx-regulator.c
index
ab08ca7
..
c3750c5
100644
(file)
--- 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, \
}