mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-24 11:34:50 +08:00
regulator: s5m8767: Constify s5m8767_opmode_reg
The s5m8767_opmode_reg should never change, make it const. Signed-off-by: Axel Lin <axel.lin@ingics.com> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
74a569ee4c
commit
21687b1624
@ -115,7 +115,7 @@ static const struct sec_voltage_desc *reg_voltage_map[] = {
|
||||
[S5M8767_BUCK9] = &buck_voltage_val3,
|
||||
};
|
||||
|
||||
static unsigned int s5m8767_opmode_reg[][4] = {
|
||||
static const unsigned int s5m8767_opmode_reg[][4] = {
|
||||
/* {OFF, ON, LOWPOWER, SUSPEND} */
|
||||
/* LDO1 ... LDO28 */
|
||||
{0x0, 0x3, 0x2, 0x1}, /* LDO1 */
|
||||
|
Loading…
Reference in New Issue
Block a user