Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933623AbbBCLG5 (ORCPT ); Tue, 3 Feb 2015 06:06:57 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:31905 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933269AbbBCLGz (ORCPT ); Tue, 3 Feb 2015 06:06:55 -0500 X-AuditID: cbfec7f5-b7fc86d0000066b7-57-54d0ab3aefdc 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: Krzysztof Kozlowski Subject: [PATCH v2 2/3] ARM: EXYNOS: Constify exynos_pm_data and of_device_id array Date: Tue, 03 Feb 2015 12:06:40 +0100 Message-id: <1422961601-7087-2-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1422961601-7087-1-git-send-email-k.kozlowski@samsung.com> References: <1422961601-7087-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrHJMWRmVeSWpSXmKPExsVy+t/xy7pWqy+EGHS0sVi8fmFo0f/4NbPF psfXWC0u75rDZjHj/D4mi9uXeR3YPFqae9g8Nq3qZPPYvKTeo2/LKkaPz5vkAlijuGxSUnMy y1KL9O0SuDI+32hiLNjDWbFuIk8D4y/2LkZODgkBE4mvTX9ZIWwxiQv31rN1MXJxCAksZZR4 9/45O4TTxyQx//hBNpAqNgFjic3Ll4BViQhsZpTob9wN1s4sYCjx890fsLHCAqESs09vZQGx WQRUJRZvnQ8W5xVwk+j7vJ8FYp2cxMljk8F6OQXcJZ7t6WMCsYWAas5+6GGbwMi7gJFhFaNo amlyQXFSeq6RXnFibnFpXrpecn7uJkZIGH3dwbj0mNUhRgEORiUe3p1fz4cIsSaWFVfmHmKU 4GBWEuFNX34hRIg3JbGyKrUoP76oNCe1+BAjEwenVAOjqXfQrgz1o7tnnesr+K8Q1jgp5Z/z Ja6qY5PFeDR52rpiA6cavDh93eNyetEsi0slN65Oe7bgRSXztnM317zzuLFWSVu5IlGX5a/q OsG/2sv5lIUca4UKN2s8aW+uvxn546eg0GOZCy2cHtFaxRtFZmbFXor3nORrWcAh6srU4SIv ICxxy0uJpTgj0VCLuag4EQBUvn9cAQIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1420 Lines: 42 The 'exynos5420_pm_data' and of_device_id array are not modified and can be made const. Signed-off-by: Krzysztof Kozlowski --- 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/