Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1258518 > unrolled thread

[PATCH] ARM: EXYNOS: Constify local exynos_pmu_data structure

Started byKrzysztof Kozlowski <k.kozlowski@samsung.com>
First post2015-10-29 02:50 +0100
Last post2015-10-29 03:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] ARM: EXYNOS: Constify local exynos_pmu_data structure Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-10-29 02:50 +0100
    Re: [PATCH] ARM: EXYNOS: Constify local exynos_pmu_data structure Pankaj Dubey <pankaj.dubey@samsung.com> - 2015-10-29 03:10 +0100

#1258518 — [PATCH] ARM: EXYNOS: Constify local exynos_pmu_data structure

FromKrzysztof Kozlowski <k.kozlowski@samsung.com>
Date2015-10-29 02:50 +0100
Subject[PATCH] ARM: EXYNOS: Constify local exynos_pmu_data structure
Message-ID<qoKvM-27t-3@gated-at.bofh.it>
The Exynos5420 instance of exynos_pmu_data structure is not modified and
can be made const.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Suggested-by: Pavel Fedin <p.fedin@samsung.com>
---
 arch/arm/mach-exynos/pmu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-exynos/pmu.c b/arch/arm/mach-exynos/pmu.c
index de68938ee6aa..5775154501d8 100644
--- a/arch/arm/mach-exynos/pmu.c
+++ b/arch/arm/mach-exynos/pmu.c
@@ -908,7 +908,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,
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1258531

FromPankaj Dubey <pankaj.dubey@samsung.com>
Date2015-10-29 03:10 +0100
Message-ID<qoKP8-2tr-7@gated-at.bofh.it>
In reply to#1258518
On 29 October 2015 at 07:10, Krzysztof Kozlowski
<k.kozlowski@samsung.com> wrote:
> The Exynos5420 instance of exynos_pmu_data structure is not modified and
> can be made const.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Suggested-by: Pavel Fedin <p.fedin@samsung.com>

Reviewed-by: Pankaj Dubey <pankaj.dubey@samsung.com>

Thanks,
Pankaj Dubey

>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web