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

Commit aec6341e authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski
Browse files

soc: samsung: pmu: Constify arrays with PMU data



Arrays storing values for Power Management Unit for given sleep mode can
be made const.

Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
parent 24c4b478
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@

#include "exynos-pmu.h"

static struct exynos_pmu_conf exynos3250_pmu_config[] = {
static const struct exynos_pmu_conf exynos3250_pmu_config[] = {
	/* { .offset = offset, .val = { AFTR, W-AFTR, SLEEP } */
	{ EXYNOS3_ARM_CORE0_SYS_PWR_REG,		{ 0x0, 0x0, 0x2} },
	{ EXYNOS3_DIS_IRQ_ARM_CORE0_LOCAL_SYS_PWR_REG,	{ 0x0, 0x0, 0x0} },
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@

#include "exynos-pmu.h"

static struct exynos_pmu_conf exynos5420_pmu_config[] = {
static const struct exynos_pmu_conf exynos5420_pmu_config[] = {
	/* { .offset = offset, .val = { AFTR, LPA, SLEEP } */
	{ EXYNOS5_ARM_CORE0_SYS_PWR_REG,		{ 0x0, 0x0, 0x0} },
	{ EXYNOS5_DIS_IRQ_ARM_CORE0_LOCAL_SYS_PWR_REG,	{ 0x0, 0x0, 0x0} },