]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: EXYNOS: Constify exynos_pm_data array
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Tue, 17 Mar 2015 17:34:37 +0000 (02:34 +0900)
committerKukjin Kim <kgene@kernel.org>
Tue, 17 Mar 2015 17:34:37 +0000 (02:34 +0900)
The 'exynos5420_pm_data' is not modified and can be made const.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
arch/arm/mach-exynos/suspend.c

index f2f1201d8d33ed321224f13a41b8c8c339dad660..3800fd3d7760a5018ac2f37e6409be2c635d3ae2 100644 (file)
@@ -576,7 +576,7 @@ static const struct exynos_pm_data exynos5250_pm_data = {
        .cpu_suspend    = exynos_cpu_suspend,
 };
 
-static struct exynos_pm_data exynos5420_pm_data = {
+static const struct exynos_pm_data exynos5420_pm_data = {
        .wkup_irq       = exynos5250_wkup_irq,
        .wake_disable_mask = (0x7F << 7) | (0x1F << 1),
        .release_ret_regs = exynos5420_release_ret_regs,