ARM: EXYNOS: Annotate iomem and pm_data pointers __ro_after_init
authorKrzysztof Kozlowski <krzk@kernel.org>
Sat, 10 Dec 2016 13:47:33 +0000 (15:47 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Thu, 29 Dec 2016 13:28:55 +0000 (15:28 +0200)
commit731d97c236833c2179ce6fe7a5eb32c46f71df27
treeb02a0c9532b2b7f1b2a9fd3a2ec315e2d086e94f
parentb4765037fc8c392027e604cf05771f0ac2790303
ARM: EXYNOS: Annotate iomem and pm_data pointers __ro_after_init

The pointers to __iomem sysram and exynos_pm_data are set only during
initcalls.  Later the pointers itself are used only in read-only way so
we can mark them __ro_after_init to increase code safeness.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
arch/arm/mach-exynos/exynos.c
arch/arm/mach-exynos/mcpm-exynos.c
arch/arm/mach-exynos/suspend.c