From patchwork Wed Mar 11 11:08:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 5983521 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 C4832BF440 for ; Wed, 11 Mar 2015 11:11:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1384D20395 for ; Wed, 11 Mar 2015 11:11:40 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 10DF920394 for ; Wed, 11 Mar 2015 11:11:39 +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 1YVeW7-00037W-AI; Wed, 11 Mar 2015 11:09:35 +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 1YVeVn-0002x8-Vw for linux-arm-kernel@lists.infradead.org; Wed, 11 Mar 2015 11:09:16 +0000 MIME-version: 1.0 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) 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 <0NL100BRXOHHHI20@mailout3.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 11 Mar 2015 11:12:53 +0000 (GMT) X-AuditID: cbfec7f4-b7f126d000001e9a-43-550021af1df6 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 3F.F2.07834.FA120055; Wed, 11 Mar 2015 11:06:23 +0000 (GMT) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NL100G66OAL9560@eusync2.samsung.com>; Wed, 11 Mar 2015 11:08:49 +0000 (GMT) From: Krzysztof Kozlowski To: Kukjin Kim , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 2/3] ARM: EXYNOS: Constify exynos_pm_data array Date: Wed, 11 Mar 2015 12:08:40 +0100 Message-id: <1426072121-6822-2-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1426072121-6822-1-git-send-email-k.kozlowski@samsung.com> References: <1426072121-6822-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrJLMWRmVeSWpSXmKPExsVy+t/xK7rrFRlCDTquWlv8nXSM3eL1C0OL /sevmS02Pb7GanF51xw2ixnn9zFZrD1yl93i1PXPbBaLtn5hd+D0+P1rEqPHplWdbB6bl9R7 XDnRxOrRt2UVo8fnTXIBbFFcNimpOZllqUX6dglcGQte7GAq2MNRMWP2UrYGxi9sXYycHBIC JhI7ru6CssUkLtxbD2YLCSxllNjxwxHE5hUQlPgx+R5LFyMHB7OAvMSRS9kgYWYBdYlJ8xYx dzFyAZX3MUks6pvMDpJgEzCW2Lx8CRtIQkSgi1Fi1pbfbBAdZxklJq1wB7GFBZwkTqx/zQhi swioSkx5cYgdYpmbxOwTa5khDpKTOHlsMiuIzSngLtG5cRMTxHFuEq3fvzNOYBSYheS+WQj3 zUJy3wJG5lWMoqmlyQXFSem5hnrFibnFpXnpesn5uZsYIcH/ZQfj4mNWhxgFOBiVeHhvRv8L EWJNLCuuzD3EKMHBrCTC28fPECrEm5JYWZValB9fVJqTWnyIkYmDU6qBUTaIYZF3NMfdWfNq nfOYNyWqrzkhtsCjZnm4pmWm0Iy9suIL9//bvrfRfU3s2oMtP6yZkx+xbl+2fNcr+63HRY7w nRK5+F//3KYtgaundV75NGmt78JPfkW9pc+62vefCdHLazVLepAlpR8Spng0f6+erF83Q+cB l9C2/qVrJwX/vLVghcNOXiWW4oxEQy3mouJEAKutGb1cAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150311_040916_208309_467F6689 X-CRM114-Status: UNSURE ( 8.28 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: Olof Johansson , Pankaj Dubey , Krzysztof Kozlowski , Arnd Bergmann , Marek Szyprowski X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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, 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' is not modified and can be made const. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Pankaj Dubey --- Notes: Changes since v3: 1. The 'of_device_id' was already constifyied by Uwe Kleine-König. Changes since v2: 1. Add Pankaj's reviewed-by. Changes since v1: 1. New patch. arch/arm/mach-exynos/suspend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/suspend.c b/arch/arm/mach-exynos/suspend.c index 2fefb7073083..d42fb1cd202d 100644 --- a/arch/arm/mach-exynos/suspend.c +++ b/arch/arm/mach-exynos/suspend.c @@ -576,7 +576,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,