Browse Source

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>
Krzysztof Kozlowski 10 years ago
parent
commit
f31c7c7a0e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/mach-exynos/pmu.c

+ 1 - 1
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,