From patchwork Wed Apr 8 13:22:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6179751 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 06CD99F349 for ; Wed, 8 Apr 2015 13:23:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3A5BD20373 for ; Wed, 8 Apr 2015 13:23:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3F80220173 for ; Wed, 8 Apr 2015 13:23:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754366AbbDHNWu (ORCPT ); Wed, 8 Apr 2015 09:22:50 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:36862 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754244AbbDHNWm (ORCPT ); Wed, 8 Apr 2015 09:22:42 -0400 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NMH00D3GPC9ON20@mailout4.w1.samsung.com>; Wed, 08 Apr 2015 14:26:33 +0100 (BST) X-AuditID: cbfec7f5-b7f1e6d00000617c-03-55252af0d53f Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 1E.B9.24956.0FA25255; Wed, 08 Apr 2015 14:19:44 +0100 (BST) 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 <0NMH008F3P5ED550@eusync2.samsung.com>; Wed, 08 Apr 2015 14:22:37 +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-clk@vger.kernel.org, linux-kernel@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: Krzysztof Kozlowski Subject: [PATCH 7/8] clk: ls1x: Fix duplicate const for parent names Date: Wed, 08 Apr 2015 15:22:18 +0200 Message-id: <1428499339-29569-8-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1428499339-29569-1-git-send-email-k.kozlowski@samsung.com> References: <1428499339-29569-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrILMWRmVeSWpSXmKPExsVy+t/xK7oftFRDDfb/U7R4cqiX2eLcq0cs Fv8fvWa1+PZwIaPF6xeGFv2PXzNbbHp8jdXiY889VovLu+awWXx68J/ZYsb5fUwWnV9msVk8 nXCRzWLS2qmMFjfnp1lc2qNicfhNO6vFjzPdLBavDraxWPzcNY/FYtWuP4wOoh6X+3qZPHbO usvusWlVJ5vHnWt72DyOrlzL5LF5Sb1Hb/M7No++LasYPbZfm8fs8XmTnMfGuaEB3FFcNimp OZllqUX6dglcGS9anAu6OSo29nYzNjA+Zeti5OSQEDCROLR/NpQtJnHh3nowW0hgKaPE7D3S EHYfk8T2s8ogNpuAscTm5UuAarg4RAQ+sko8PfiBESTBLGAo8fPdH3YQW1jAReLWlWNMIDaL gKrEntUvgWwODl4Bd4mrL4IgdslJnDw2mRXE5hTwkJi9/DgbSIkQUMnRo8oTGHkXMDKsYhRN LU0uKE5KzzXSK07MLS7NS9dLzs/dxAiJhq87GJceszrEKMDBqMTD63FFJVSINbGsuDL3EKME B7OSCO9/ZdVQId6UxMqq1KL8+KLSnNTiQ4xMHJxSDYwC3/7/urGv2GSSTBnHIe1Fvy7mOdTc 2F3M8/+WaU9issBJj+oojelxPbFyYUd8Nr7VOi1wnLFit6v6Luu7Ow5Lxd8WVC9iuB8YbbWy +sJlr9NL7qwxdY8TOruJ4Un5EyWV3unz7gbuyO270DrlUJbRz8t7vxjtYDzPsDTQwHeBxlSN eZXuC2cosRRnJBpqMRcVJwIAkxcht2QCAAA= 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 Replace duplicated const keyword with proper array of const pointers to const strings. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/clk-ls1x.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/clk-ls1x.c b/drivers/clk/clk-ls1x.c index ca80103ac188..d4c61985f448 100644 --- a/drivers/clk/clk-ls1x.c +++ b/drivers/clk/clk-ls1x.c @@ -80,9 +80,9 @@ static struct clk *__init clk_register_pll(struct device *dev, return clk; } -static const char const *cpu_parents[] = { "cpu_clk_div", "osc_33m_clk", }; -static const char const *ahb_parents[] = { "ahb_clk_div", "osc_33m_clk", }; -static const char const *dc_parents[] = { "dc_clk_div", "osc_33m_clk", }; +static const char * const cpu_parents[] = { "cpu_clk_div", "osc_33m_clk", }; +static const char * const ahb_parents[] = { "ahb_clk_div", "osc_33m_clk", }; +static const char * const dc_parents[] = { "dc_clk_div", "osc_33m_clk", }; void __init ls1x_clk_init(void) {