From patchwork Thu Feb 5 07:23:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 5782551 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 3C1F09F302 for ; Thu, 5 Feb 2015 07:24:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5DED9202C8 for ; Thu, 5 Feb 2015 07:24:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 75F7B201E4 for ; Thu, 5 Feb 2015 07:24:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756493AbbBEHXl (ORCPT ); Thu, 5 Feb 2015 02:23:41 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:48580 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753334AbbBEHXk (ORCPT ); Thu, 5 Feb 2015 02:23:40 -0500 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NJA0085VFE6ZL90@mailout3.w1.samsung.com>; Thu, 05 Feb 2015 07:27:42 +0000 (GMT) X-AuditID: cbfec7f5-b7fc86d0000066b7-8c-54d319e8a727 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id A8.DE.26295.8E913D45; Thu, 05 Feb 2015 07:21:12 +0000 (GMT) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync3.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NJA00HC4F78PT10@eusync3.samsung.com>; Thu, 05 Feb 2015 07:23:38 +0000 (GMT) From: Krzysztof Kozlowski To: Russell King , Kukjin Kim , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Pankaj Dubey , Bartlomiej Zolnierkiewicz , Marek Szyprowski , Krzysztof Kozlowski Subject: [PATCH v3 2/3] ARM: EXYNOS: Constify exynos_pm_data and of_device_id array Date: Thu, 05 Feb 2015 08:23:21 +0100 Message-id: <1423121002-25117-2-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1423121002-25117-1-git-send-email-k.kozlowski@samsung.com> References: <1423121002-25117-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHJMWRmVeSWpSXmKPExsVy+t/xq7ovJC+HGBzbwWSxccZ6VovXLwwt +h+/ZrbY9Pgaq8XlXXPYLGac38dkcfsyr8XaI3fZLRZt/cLuwOnR0tzD5rFpVSebx+Yl9R59 W1YxenzeJBfAGsVlk5Kak1mWWqRvl8CVsfzjWraCpVwVS6c/ZGpgvMzRxcjJISFgIjH1+Q4W CFtM4sK99WxdjFwcQgJLGSU2Xl/IDOH0MUmsXr6fDaSKTcBYYvPyJWBVIgKbGSX6G3ezgjjM AocZJfq+zwObJSwQKtH+7jd7FyMHB4uAqsSXi/IgYV4Bd4nzzQ1MEOvkJE4em8wKYnMKeEj8 vQuyjRNom7vElPOr2CYw8i5gZFjFKJpamlxQnJSea6RXnJhbXJqXrpecn7uJERJmX3cwLj1m dYhRgINRiYe3o/diiBBrYllxZe4hRgkOZiURXk2OyyFCvCmJlVWpRfnxRaU5qcWHGJk4OKUa GLcqqF9RcTJVNHU/vaWsWWHZiUtrVbe++LNNd9encNbeuYbb5QymvA15kDP/0sbN00szYpZ3 nPBX3Z74bMu/g5OeCcX/0dg1g193ydzFa8tmzmIqLA8r412lx5zUIX3G8pX/4l32PhdPXF5e GKLssuamyt8HLkcmKc568U8q+M4hIXP1be5PZokqsRRnJBpqMRcVJwIAIzFvFhECAAA= 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, T_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_pm_data' and of_device_id array are not modified and can be made const. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Pankaj Dubey --- Changes since v2: 1. Add Pankaj's reviewed-by. Changes since v1: 1. New patch. --- arch/arm/mach-exynos/suspend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-exynos/suspend.c b/arch/arm/mach-exynos/suspend.c index 77cc39bdad47..e6c961126087 100644 --- a/arch/arm/mach-exynos/suspend.c +++ b/arch/arm/mach-exynos/suspend.c @@ -572,7 +572,7 @@ static const struct exynos_pm_data exynos5250_pm_data = { .cpu_suspend = exynos_cpu_suspend, }; -static struct exynos_pm_data exynos5420_pm_data = { +static const struct exynos_pm_data exynos5420_pm_data = { .wkup_irq = exynos5250_wkup_irq, .wake_disable_mask = (0x7F << 7) | (0x1F << 1), .release_ret_regs = exynos5420_release_ret_regs, @@ -583,7 +583,7 @@ static struct exynos_pm_data exynos5420_pm_data = { .cpu_suspend = exynos5420_cpu_suspend, }; -static struct of_device_id exynos_pmu_of_device_ids[] = { +static const struct of_device_id exynos_pmu_of_device_ids[] = { { .compatible = "samsung,exynos3250-pmu", .data = &exynos3250_pm_data,