From patchwork Tue Apr 28 04:46:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6285561 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 88441BEEE1 for ; Tue, 28 Apr 2015 04:48:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CB46920376 for ; Tue, 28 Apr 2015 04:48:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D1D7620306 for ; Tue, 28 Apr 2015 04:48:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932287AbbD1EsH (ORCPT ); Tue, 28 Apr 2015 00:48:07 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:13117 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753374AbbD1ErP (ORCPT ); Tue, 28 Apr 2015 00:47:15 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NNI001BL2MOHK60@mailout2.w1.samsung.com>; Tue, 28 Apr 2015 05:47:12 +0100 (BST) X-AuditID: cbfec7f4-f79c56d0000012ee-aa-553f10d239ac Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id E9.FD.04846.2D01F355; Tue, 28 Apr 2015 05:47:15 +0100 (BST) Received: from localhost.localdomain ([10.252.80.64]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NNI00A672LDPN10@eusync1.samsung.com>; Tue, 28 Apr 2015 05:47:11 +0100 (BST) From: Krzysztof Kozlowski To: Ralf Baechle , Max Filippov , Mike Turquette , Stephen Boyd , Heiko Stuebner , Sylwester Nawrocki , Tomasz Figa , Kukjin Kim , Barry Song , Peter De Schrijver , Prashant Gaikwad , Stephen Warren , Thierry Reding , Alexandre Courbot , linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-tegra@vger.kernel.org Cc: Chanwoo Choi , Inki Dae , Krzysztof Kozlowski Subject: [PATCH v2 6/8] clk: sirf: Constify parent names in clock init data Date: Tue, 28 Apr 2015 13:46:21 +0900 Message-id: <1430196383-9190-7-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1430196383-9190-1-git-send-email-k.kozlowski@samsung.com> References: <1430196383-9190-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpkkeLIzCtJLcpLzFFi42I5/e/4Zd3LAvahBg1NTBZPDvUyW1z/8pzV 4tyrRywW/x+9ZrWYdH8Ci8W3hwsZLV6/MLTof/ya2WLT42usFh977rFaXN41h81iwtRJ7Baf Hvxntphxfh+TReeXWWwWTydcZLOYtHYqo8XN+WkWl/aoWBx+085q8eNMN4vFq4NtLBY/d81j sVi16w+jg4TH5b5eJo+ds+6ye2xa1cnmcefaHjaPoyvXMnlsXlLv0dv8js2jb8sqRo/t1+Yx e3zeJOexcW5oAHcUl01Kak5mWWqRvl0CV0bboxaWgpW8FRfeHWVsYDzA1cXIySEhYCLRe/QF O4QtJnHh3nq2LkYuDiGBpYwSfU93MUM4/xklDn+byQZSxSZgLLF5+RKwKhGBHjaJrU/vMYMk mAWqJOa93cEKYgsLeEvM/38ezGYRUJW4uWUvUAMHB6+Am8TFHneIbXISJ49NBivhFHCX6G/u YwUpEQIq6ezKn8DIu4CRYRWjaGppckFxUnquoV5xYm5xaV66XnJ+7iZGSMR82cG4+JjVIUYB DkYlHt4MZvtQIdbEsuLK3EOMEhzMSiK8xX/sQoV4UxIrq1KL8uOLSnNSiw8xSnOwKInzzt31 PkRIID2xJDU7NbUgtQgmy8TBKdXA6G4heer/liuSZbOeb5Q79Lems2uDvCB3u9/uued8Jf/O aXjt7S/zPXFWqK5TwbEddVVmZuufxj2TcAxe/Syd3/fZ4TVe194tcHpT/vvYrg6uKexORdui kqPneNksmWUQODVS6vWO98/ifG+VzLpxVmr7icXeISuFJOK3vtvGor2hSSRP49LEMCWW4oxE Qy3mouJEABO9EOCUAgAA 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=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 array of parent names can be made as array of const pointers to const strings. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/sirf/clk-common.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/clk/sirf/clk-common.c b/drivers/clk/sirf/clk-common.c index 37af51c5f213..e9cf5730effe 100644 --- a/drivers/clk/sirf/clk-common.c +++ b/drivers/clk/sirf/clk-common.c @@ -188,7 +188,7 @@ static struct clk_ops std_pll_ops = { .set_rate = pll_clk_set_rate, }; -static const char *pll_clk_parents[] = { +static const char * const pll_clk_parents[] = { "osc", }; @@ -284,7 +284,7 @@ static struct clk_hw usb_pll_clk_hw = { * clock domains - cpu, mem, sys/io, dsp, gfx */ -static const char *dmn_clk_parents[] = { +static const char * const dmn_clk_parents[] = { "rtc", "osc", "pll1", @@ -673,7 +673,7 @@ static void std_clk_disable(struct clk_hw *hw) clkc_writel(val, reg); } -static const char *std_clk_io_parents[] = { +static const char * const std_clk_io_parents[] = { "io", }; @@ -949,7 +949,7 @@ static struct clk_std clk_pulse = { }, }; -static const char *std_clk_dsp_parents[] = { +static const char * const std_clk_dsp_parents[] = { "dsp", }; @@ -981,7 +981,7 @@ static struct clk_std clk_mf = { }, }; -static const char *std_clk_sys_parents[] = { +static const char * const std_clk_sys_parents[] = { "sys", }; @@ -999,7 +999,7 @@ static struct clk_std clk_security = { }, }; -static const char *std_clk_usb_parents[] = { +static const char * const std_clk_usb_parents[] = { "usb_pll", };