All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] regulator: bcm590xx: Set n_voltages for linear reg
@ 2014-04-10 20:04 Tim Kryger
  2014-04-10 20:25 ` Matt Porter
  2014-04-10 22:10 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Tim Kryger @ 2014-04-10 20:04 UTC (permalink / raw)
  To: Matt Porter, Liam Girdwood, Mark Brown
  Cc: Tim Kryger, Linux Kernel Mailing List

Fix the macro used to define linear range regulators to include the
number of voltages.

Signed-off-by: Tim Kryger <tim.kryger@linaro.org>
---
 drivers/regulator/bcm590xx-regulator.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/bcm590xx-regulator.c b/drivers/regulator/bcm590xx-regulator.c
index ab08ca7..c3750c5 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, \
 	}
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-10 22:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-10 20:04 [PATCH] regulator: bcm590xx: Set n_voltages for linear reg Tim Kryger
2014-04-10 20:25 ` Matt Porter
2014-04-10 22:10 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.