ARM: EXYNOS: Constify local exynos_pmu_data structure
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Thu, 29 Oct 2015 01:38:05 +0000 (10:38 +0900)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 20 Nov 2015 07:00:46 +0000 (16:00 +0900)
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>
arch/arm/mach-exynos/pmu.c

index 393c04aa727ea50c62952a427ac4d8ec7052a712..28b7a72ae9a687b954b09dc174357634d404d64d 100644 (file)
@@ -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,
This page took 0.025142 seconds and 5 git commands to generate.