From patchwork Tue Feb 11 13:03: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: 3627171 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 F2383BF418 for ; Tue, 11 Feb 2014 13:08:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 155FA201F2 for ; Tue, 11 Feb 2014 13:08:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1E12C2008F for ; Tue, 11 Feb 2014 13:08:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751313AbaBKNHz (ORCPT ); Tue, 11 Feb 2014 08:07:55 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:32478 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751852AbaBKNEQ (ORCPT ); Tue, 11 Feb 2014 08:04:16 -0500 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 <0N0U001VE1N31R40@mailout3.w1.samsung.com>; Tue, 11 Feb 2014 13:04:15 +0000 (GMT) X-AuditID: cbfec7f4-b7f796d000005a13-93-52fa1fce8153 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 26.12.23059.ECF1AF25; Tue, 11 Feb 2014 13:04:14 +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 <0N0U006ES1MWRN80@eusync2.samsung.com>; Tue, 11 Feb 2014 13:04:14 +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 06/14] regulator: s2mps11: Constify regulator_desc array Date: Tue, 11 Feb 2014 14:03:49 +0100 Message-id: <1392123837-5517-7-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1392123837-5517-1-git-send-email-k.kozlowski@samsung.com> References: <1392123837-5517-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupmluLIzCtJLcpLzFFi42I5/e/4Fd1z8r+CDF6d0rPYOGM9q8XUh0/Y LF6/MLQ42/SG3eL+16OMFt+udDBZXN41h81ixvl9TBZrj9xltzjdzWpxccUXJgduj52z7rJ7 bFrVyeZx59oeNo95JwM9+rasYvT4vEkugC2KyyYlNSezLLVI3y6BK+PQl9eMBZPZKvZPn8Le wDibtYuRk0NCwETi68z5LBC2mMSFe+vZQGwhgaWMErMfJHQxcgHZfUwSM2a/YgJJsAkYS2xe voQNJCEisJlRYvH3q6wgDrNAL5PEihU7waqEBTwkHnXvYASxWQRUJfbtmgdm8wq4Sew6ugbI 5gBapyAxZ5INSJhTwF2i79N/NpCwEFDJ8v7YCYy8CxgZVjGKppYmFxQnpeca6hUn5haX5qXr JefnbmKEBOCXHYyLj1kdYhTgYFTi4d2g+DNIiDWxrLgy9xCjBAezkgjvF+FfQUK8KYmVValF +fFFpTmpxYcYmTg4pRoYe8v+d/+pk6tfcLGapyxELutUcqewQ3bvWUG5jSnpimbC775J3nil lHZokfn/6MePHdVWSV0O62faesHoliDrw1eV2z7mc3LUHVF3ml8o/vLho2DvA56b+vXD5uk3 Cj93dbxwY2FEh9Gja2/vTbr0Yuf74x3sb5xXx/YtXvh9dk9kTc2eZrV/SizFGYmGWsxFxYkA cqJEoB4CAAA= 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),