Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966694AbbBEHXm (ORCPT ); Thu, 5 Feb 2015 02:23:42 -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 X-AuditID: cbfec7f5-b7fc86d0000066b7-8c-54d319e8a727 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-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1521 Lines: 46 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, -- 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/