2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 18:23:53 +08:00

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: Krzysztof Kozlowski <k.kozlowski@samsung.com>
This commit is contained in:
Krzysztof Kozlowski 2016-07-06 09:03:46 +02:00
parent 24c4b47829
commit aec6341e2a
2 changed files with 2 additions and 2 deletions

View File

@ -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} },

View File

@ -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} },