summaryrefslogtreecommitdiff
path: root/arch/arm/mach-exynos
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-10-29 04:38:05 +0300
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-11-20 10:00:46 +0300
commitf31c7c7a0e4cedeee3cac9dbcb0a202008b86b54 (patch)
tree26f929c46adba2566338585a4dd4fdde2061d669 /arch/arm/mach-exynos
parent23067d39761626a0bd814a092404a7d424ebf0c3 (diff)
downloadlinux-f31c7c7a0e4cedeee3cac9dbcb0a202008b86b54.tar.xz
ARM: EXYNOS: Constify local exynos_pmu_data structure
The Exynos5420 instance of exynos_pmu_data structure is not modified and can be made const. Suggested-by: Pavel Fedin <p.fedin@samsung.com> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Reviewed-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos')
-rw-r--r--arch/arm/mach-exynos/pmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/pmu.c b/arch/arm/mach-exynos/pmu.c
index 393c04aa727e..28b7a72ae9a6 100644
--- a/arch/arm/mach-exynos/pmu.c
+++ b/arch/arm/mach-exynos/pmu.c
@@ -880,7 +880,7 @@ static const struct exynos_pmu_data exynos5250_pmu_data = {
.powerdown_conf = exynos5_powerdown_conf,
};
-static struct exynos_pmu_data exynos5420_pmu_data = {
+static const struct exynos_pmu_data exynos5420_pmu_data = {
.pmu_config = exynos5420_pmu_config,
.pmu_init = exynos5420_pmu_init,
.powerdown_conf = exynos5420_powerdown_conf,