summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-10-29 02:38:05 +0100
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-11-20 08:00:46 +0100
commitf31c7c7a0e4cedeee3cac9dbcb0a202008b86b54 (patch)
tree26f929c46adba2566338585a4dd4fdde2061d669 /arch
parentARM: EXYNOS: Switch to syscon reboot and poweroff (diff)
downloadlinux-f31c7c7a0e4cedeee3cac9dbcb0a202008b86b54.tar.xz
linux-f31c7c7a0e4cedeee3cac9dbcb0a202008b86b54.zip
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')
-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,