Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1e791405 authored by Tim Kryger's avatar Tim Kryger Committed by Mark Brown
Browse files

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: default avatarTim Kryger <tim.kryger@linaro.org>
Acked-by: default avatarMatt Porter <mporter@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 5481b348
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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, \
	}