From patchwork Tue Apr 28 04:46:22 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6285531 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 688A69F373 for ; Tue, 28 Apr 2015 04:48:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8D0172037F for ; Tue, 28 Apr 2015 04:48:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B065E20306 for ; Tue, 28 Apr 2015 04:48:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932259AbbD1ErZ (ORCPT ); Tue, 28 Apr 2015 00:47:25 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:9856 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932255AbbD1ErU (ORCPT ); Tue, 28 Apr 2015 00:47:20 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NNI008B62MUPV60@mailout4.w1.samsung.com>; Tue, 28 Apr 2015 05:47:18 +0100 (BST) X-AuditID: cbfec7f4-f79c56d0000012ee-b5-553f10d9ce2b Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 8C.FD.04846.9D01F355; Tue, 28 Apr 2015 05:47:21 +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:18 +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 7/8] clk: ls1x: Fix duplicate const for parent names Date: Tue, 28 Apr 2015 13:46:22 +0900 Message-id: <1430196383-9190-8-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+NgFvrHLMWRmVeSWpSXmKPExsVy+t/xy7o3BexDDU62s1o8OdTLbHH9y3NW i3OvHrFY/H/0mtVi0v0JLBbfHi5ktHj9wtCi//FrZotNj6+xWnzsucdqcXnXHDaLCVMnsVt8 evCf2WLG+X1MFp1fZrFZPJ1wkc1i0tqpjBY356dZXNqjYnH4DdCCH2e6WSxeHWxjsfi5ax6L xapdfxgdJDwu9/UyeeycdZfdY9OqTjaPO9f2sHkcXbmWyWPzknqP3uZ3bB59W1Yxemy/No/Z 4/MmOY+Nc0MDuKO4bFJSczLLUov07RK4Ml60OBd0c1Rs7O1mbGB8ytbFyMkhIWAiceP+fHYI W0ziwr31QHEuDiGBpYwSXx/vYAFJCAn8Z5R4Nd0cxGYTMJbYvHwJWJGIQA+bxNan95hBEswC VRLz3u5g7WLk4BAWcJf49LUExGQRUJVo7qsCqeAVcJNoeLIQaq+cxMljk1lBbE6g6v7mPrBO IaCazq78CYy8CxgZVjGKppYmFxQnpeca6hUn5haX5qXrJefnbmKExMqXHYyLj1kdYhTgYFTi 4c1gtg8VYk0sK67MPcQowcGsJMJb/McuVIg3JbGyKrUoP76oNCe1+BCjNAeLkjjv3F3vQ4QE 0hNLUrNTUwtSi2CyTBycUg2MfEt3rHg2aT/na6ZTlouK70Qed4mqrov4MUvixV/Ha8Wn2ivb JM+ydTvKxG39dWXRq6TkeYmicVLLZpu7plgFaZ9JNGIqWLXZ56Tfv7+RJ/Pd2V5uinCd6VLX MGWm+ZtDm1ad2ZPj+9FuyaG/6zlu/fd9ndLq8n97tWTWZAOnJqYZKlOXPrz6WImlOCPRUIu5 qDgRAK70Ly6RAgAA 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) {