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

Commit d67c42cc authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

regulator: max1586: Constify v6_voltages_uv table



Make v6_voltages_uv to be const unsigned int.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 8bb96604
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ struct max1586_data {
 *   set V6 to either 0V, 1.8V, 2.5V, 3V depending on (x & 0x3)
 * As regulator framework doesn't accept voltages to be 0V, we use 1uV.
 */
static int v6_voltages_uv[] = { 1, 1800000, 2500000, 3000000 };
static const unsigned int v6_voltages_uv[] = { 1, 1800000, 2500000, 3000000 };

/*
 * V3 voltage