From patchwork Thu Oct 29 01:40:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 7515421 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 68390BEEA4 for ; Thu, 29 Oct 2015 01:43:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AD4C620889 for ; Thu, 29 Oct 2015 01:43:16 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DD0B120818 for ; Thu, 29 Oct 2015 01:43:15 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZrcDX-0004Vf-SS; Thu, 29 Oct 2015 01:41:27 +0000 Received: from mailout3.w1.samsung.com ([210.118.77.13]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZrcDU-00047x-BQ for linux-arm-kernel@lists.infradead.org; Thu, 29 Oct 2015 01:41:25 +0000 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NWY00MOKKOBGJA0@mailout3.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 29 Oct 2015 01:40:59 +0000 (GMT) X-AuditID: cbfec7f5-f794b6d000001495-67-5631792b32ee Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 44.83.05269.B2971365; Thu, 29 Oct 2015 01:40:59 +0000 (GMT) Received: from localhost.localdomain ([10.252.80.64]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NWY00HC6KO6HV90@eusync3.samsung.com>; Thu, 29 Oct 2015 01:40:59 +0000 (GMT) From: Krzysztof Kozlowski To: Kukjin Kim , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: EXYNOS: Constify local exynos_pmu_data structure Date: Thu, 29 Oct 2015 10:40:45 +0900 Message-id: <1446082845-4974-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrAJMWRmVeSWpSXmKPExsVy+t/xq7ralYZhBtvfSVm8fmFo0f/4NbPF psfXWC0u75rDZjHj/D4mi1eXVrE5sHlsWtXJ5rF5Sb1H35ZVjB6fN8kFsERx2aSk5mSWpRbp 2yVwZdw/HFHwmK3i3cIbLA2MT1m7GDk5JARMJD7fb2GDsMUkLtxbD2RzcQgJLGWUmH3gFZTz n1Hi8tpTLCBVbALGEpuXLwFLiAjsZZQ4t/k9E0iCWUBVYvrHg8wgtrCAm8SsWY/BxrIAxe/N /gBm8wLF995/xQKxTk7i5LHJrBMYuRcwMqxiFE0tTS4oTkrPNdIrTswtLs1L10vOz93ECAmH rzsYlx6zOsQowMGoxMPrYWAYJsSaWFZcmXuIUYKDWUmEV5oFKMSbklhZlVqUH19UmpNafIhR moNFSZx35q73IUIC6YklqdmpqQWpRTBZJg5OqQZGQ99zsTmWj6Nf3w4JmvPl2L4TErFzpm7+ s+T02hPrFYzTbc+UM3+UXc3cFKzVsCzzSd/FlRMCLke5aJ9oXPhnavvPpL/aV659Wng+cvGm 5XKZ0ot1TIqfWj/+Hq0p9+3acV69qUZmizWOic39NW22xJxdpS4Bd5/Yzlr4KHnRTi+ThJT3 TFFFW5VYijMSDbWYi4oTAYMTpY8DAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151028_184124_562869_E0970F15 X-CRM114-Status: GOOD ( 14.66 ) X-Spam-Score: -6.9 (------) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Pavel Fedin MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The Exynos5420 instance of exynos_pmu_data structure is not modified and can be made const. Signed-off-by: Krzysztof Kozlowski Suggested-by: Pavel Fedin Reviewed-by: Pankaj Dubey --- 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,