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: 7515401 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A32969F399 for ; Thu, 29 Oct 2015 01:41:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D9DFC20640 for ; Thu, 29 Oct 2015 01:41:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 06BB1206F5 for ; Thu, 29 Oct 2015 01:41:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751680AbbJ2BlE (ORCPT ); Wed, 28 Oct 2015 21:41:04 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:8558 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751237AbbJ2BlD (ORCPT ); Wed, 28 Oct 2015 21:41:03 -0400 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>; 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 Cc: Pavel Fedin 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 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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,