From patchwork Tue Apr 28 04:46:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6285701 Return-Path: X-Original-To: patchwork-linux-arm@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 C01D9BEEE1 for ; Tue, 28 Apr 2015 04:51:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EAD8B20374 for ; Tue, 28 Apr 2015 04:51:25 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1030520306 for ; Tue, 28 Apr 2015 04:51:25 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YmxS8-0008SB-07; Tue, 28 Apr 2015 04:49:00 +0000 Received: from mailout4.w1.samsung.com ([210.118.77.14]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YmxQV-0007jr-PU; Tue, 28 Apr 2015 04:47:20 +0000 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 <0NNI008B12MCPV60@mailout4.w1.samsung.com>; Tue, 28 Apr 2015 05:47:00 +0100 (BST) X-AuditID: cbfec7f4-f79c56d0000012ee-9a-553f10c62d3a Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id E7.FD.04846.6C01F355; Tue, 28 Apr 2015 05:47:02 +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:46:59 +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 Subject: [PATCH v2 4/8] clk: tegra: Fix duplicate const for parent names Date: Tue, 28 Apr 2015 13:46:19 +0900 Message-id: <1430196383-9190-5-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+NgFmpikeLIzCtJLcpLzFFi42I5/e/4Zd1jAvahBsdeGFk8OdTLbHH9y3NW i3OvHrFY/H/0mtVi0v0JLBbfHi5ktHj9wtCi//FrZotNj6+xWnzsucdqcXnXHDaLCVMnsVt8 evCf2WLG+X1MFp1fZrFZPJ1wkc1i0tqpjBY356dZXNqjYnH4TTurxY8z3SwWrw62sVj83DWP xWLVrj+MDhIel/t6mTx2zrrL7rFpVSebx51re9g8jq5cy+SxeUm9R2/zOzaPvi2rGD22X5vH 7PF5k5zHxrmhAdxRXDYpqTmZZalF+nYJXBmN7ZcZC/awVUzc84u1gXEfaxcjJ4eEgInE3IUn oGwxiQv31rN1MXJxCAksZZSYOv0+E4Tzn1GiY/UBFpAqNgFjic3Ll4BViQj0sElsfXqPGSTB LFAlMe/tDrBRwgIeEu9+7GECsVkEVCXmrT/LBmLzCrhJvJwzhRlinZzEyWOTweo5Bdwl+pv7 gGwOoG1uEp1d+RMYeRcwMqxiFE0tTS4oTkrPNdQrTswtLs1L10vOz93ECImZLzsYFx+zOsQo wMGoxMObwWwfKsSaWFZcmXuIUYKDWUmEt/iPXagQb0piZVVqUX58UWlOavEhRmkOFiVx3rm7 3ocICaQnlqRmp6YWpBbBZJk4OKUaGFctuL9ud5ZTmeChTcvqlq8NdXsxy2N/zekzJ92fF2yb 1WnFLKbCVrXs0VvhN8xHZp79rXw6+6/cqnebvliayfp6a6ak7anMsl957ons0wdlrDteVwma bssruhtvv/PephWG0pWPV3GuvDqtgHPF7FNbp2nuCI7PfSI1/6aVXOw5P8P1U6Z+sJyvxFKc kWioxVxUnAgAQsaQpZUCAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150427_214720_015257_D65CF124 X-CRM114-Status: UNSURE ( 7.53 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: Inki Dae , Chanwoo Choi , Krzysztof Kozlowski X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 for 'emc_parent_clk_names' with proper array of const pointers to const strings. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/tegra/clk-emc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/tegra/clk-emc.c b/drivers/clk/tegra/clk-emc.c index 8757feda4a11..59697c61f2f1 100644 --- a/drivers/clk/tegra/clk-emc.c +++ b/drivers/clk/tegra/clk-emc.c @@ -45,7 +45,7 @@ #define CLK_SOURCE_EMC_EMC_2X_CLK_SRC(x) (((x) & CLK_SOURCE_EMC_EMC_2X_CLK_SRC_MASK) << \ CLK_SOURCE_EMC_EMC_2X_CLK_SRC_SHIFT) -static const char const *emc_parent_clk_names[] = { +static const char * const emc_parent_clk_names[] = { "pll_m", "pll_c", "pll_p", "clk_m", "pll_m_ud", "pll_c2", "pll_c3", "pll_c_ud" };