From patchwork Fri Feb 28 10:01:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 3739741 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6260E9F2ED for ; Fri, 28 Feb 2014 10:02:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 968B3201EF for ; Fri, 28 Feb 2014 10:02:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AD40B2017D for ; Fri, 28 Feb 2014 10:02:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751083AbaB1KCP (ORCPT ); Fri, 28 Feb 2014 05:02:15 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:64678 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751580AbaB1KCJ (ORCPT ); Fri, 28 Feb 2014 05:02:09 -0500 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N1P00HEIAJ8YH30@mailout2.w1.samsung.com>; Fri, 28 Feb 2014 10:01:56 +0000 (GMT) X-AuditID: cbfec7f4-b7f796d000005a13-69-53105e9930b3 Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 29.D3.23059.99E50135; Fri, 28 Feb 2014 10:02:01 +0000 (GMT) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync1.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0N1P005G2AJ8M770@eusync1.samsung.com>; Fri, 28 Feb 2014 10:02:01 +0000 (GMT) From: Krzysztof Kozlowski To: Sangbeom Kim , Liam Girdwood , Mark Brown , linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Kyungmin Park , Marek Szyprowski , Bartlomiej Zolnierkiewicz , Tomasz Figa , Yadwinder Singh Brar , Krzysztof Kozlowski Subject: [PATCH 2/3] regulator: s2mps11: Constify regulator_desc array Date: Fri, 28 Feb 2014 11:01:49 +0100 Message-id: <1393581710-17754-3-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1393581710-17754-1-git-send-email-k.kozlowski@samsung.com> References: <1393581710-17754-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpmluLIzCtJLcpLzFFi42I5/e/4Zd2ZcQLBBkeOilpsnLGe1WLqwyds Fq9fGFqcbXrDbvHtSgeTxeVdc9gsZpzfx2Sx9shddouLK74wWayf8ZrFYs70d0wO3B47Z91l 99i0qpPNo2/LKkaPz5vkAliiuGxSUnMyy1KL9O0SuDI29AgWHGWtuD1rPVsD43WWLkZODgkB E4k7u1YzQthiEhfurWfrYuTiEBJYyijx4cgsZginj0ni2uQDTCBVbALGEpuXLwGrEhHYyChx cP9hVhCHWWAmk8Sfmw/AqoQF3CT23fnNBmKzCKhK/H3zDyzOK+AucXXpTaDdHED7FCTmTLIB MTkFPCQurjEEqRACqriy9y7zBEbeBYwMqxhFU0uTC4qT0nMN9YoTc4tL89L1kvNzNzFCAu7L DsbFx6wOMQpwMCrx8E7w5A8WYk0sK67MPcQowcGsJMKb5y4QLMSbklhZlVqUH19UmpNafIiR iYNTqoGxQfvZnpR5NyWWn1W6HXax7FfJv+bAmYW//l3rVmO2rtbhX3jqV4Rz+nRW1e66Akeb E8+eu39XCnjurfi1KPKarM3h/+UicWmhrUHybJasV9iq3x2Z7sH+rl/X1f7i4UU8bUlhmfMe z34zq2TbJvlwMVFmlV1lxj83Xk+fosyk5dxk1f1xmbISS3FGoqEWc1FxIgBthTpEFgIAAA== 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=-3.8 required=5.0 tests=BAYES_00,KHOP_BIG_TO_CC, 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 Constify the regulator_desc 'regulators' array. Signed-off-by: Krzysztof Kozlowski --- drivers/regulator/s2mps11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/s2mps11.c b/drivers/regulator/s2mps11.c index 3647d590b962..189038aecbf5 100644 --- a/drivers/regulator/s2mps11.c +++ b/drivers/regulator/s2mps11.c @@ -343,7 +343,7 @@ static struct regulator_ops s2mps11_buck_ops = { .enable_mask = S2MPS11_ENABLE_MASK \ } -static struct regulator_desc regulators[] = { +static const struct regulator_desc regulators[] = { regulator_desc_ldo2(1), regulator_desc_ldo1(2), regulator_desc_ldo1(3),