From patchwork Thu Feb 13 09:13:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 3643991 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3567DBF13A for ; Thu, 13 Feb 2014 09:16:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 58EAE201CE for ; Thu, 13 Feb 2014 09:16:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 76ECD201BA for ; Thu, 13 Feb 2014 09:16:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753843AbaBMJOt (ORCPT ); Thu, 13 Feb 2014 04:14:49 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:54737 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753754AbaBMJOg (ORCPT ); Thu, 13 Feb 2014 04:14:36 -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 <0N0X00AGJGC0PW40@mailout3.w1.samsung.com>; Thu, 13 Feb 2014 09:14:25 +0000 (GMT) X-AuditID: cbfec7f5-b7fc96d000004885-cc-52fc8cf0a12e Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id A7.21.18565.0FC8CF25; Thu, 13 Feb 2014 09:14:24 +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 <0N0X002E0GBT6O90@eusync1.samsung.com>; Thu, 13 Feb 2014 09:14:24 +0000 (GMT) From: Krzysztof Kozlowski To: Sangbeom Kim , Samuel Ortiz , Lee Jones , linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Kyungmin Park , Marek Szyprowski , Bartlomiej Zolnierkiewicz , Krzysztof Kozlowski , Mark Brown , Liam Girdwood Subject: [PATCH v2 06/14] regulator: s2mps11: Constify regulator_desc array Date: Thu, 13 Feb 2014 10:13:59 +0100 Message-id: <1392282847-25444-7-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1392282847-25444-1-git-send-email-k.kozlowski@samsung.com> References: <1392282847-25444-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplluLIzCtJLcpLzFFi42I5/e/4Zd0PPX+CDFqvKltsnLGe1WLqwyds Fq9fGFqcbXrDbnH/61FGi29XOpgsLu+aw2Yx4/w+Jou1R+6yW5zuZrW4uOILkwO3x85Zd9k9 Nq3qZPO4c20Pm8e8k4EefVtWMXp83iQXwBbFZZOSmpNZllqkb5fAlXHoy2vGgslsFfunT2Fv YJzN2sXIySEhYCLx/8gnJghbTOLCvfVsXYxcHEICSxkl3r79BuX0MUl8m/8ErIpNwFhi8/Il YAkRgc2MEou/X2UFcZgFepkkVqzYCVYlLOAtcXf6ajYQm0VAVeJW13sWEJtXwF1iWecbIJsD aJ+CxJxJNiBhTgEPiX8/fjOD2EJAJT2LZ7FPYORdwMiwilE0tTS5oDgpPddIrzgxt7g0L10v OT93EyMkCL/uYFx6zOoQowAHoxIP74PFv4OEWBPLiitzDzFKcDArifDKSPwJEuJNSaysSi3K jy8qzUktPsTIxMEp1cDIX8CT8kt0+8Np+1ZoxIUZstn3nU840e7yWPe4zbmzD1abfPkeW9VS 3b7S8eSlgyy/9stFKl6eof75incYq8v3R+6NN/9xTlLikVEq+Z//tul499tWrvgNHH/lLdZf c/95Jzsk/kRhzXPpr8cdEqUWcjxwn+Pxs5bZ78JsS6d52yssdQ8tMLdQYinOSDTUYi4qTgQA 6o7X0CACAAA= 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=-4.5 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 Cc: Mark Brown Cc: Liam Girdwood --- 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 89966213315c..d44bd5b3fe8e 100644 --- a/drivers/regulator/s2mps11.c +++ b/drivers/regulator/s2mps11.c @@ -345,7 +345,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),