From patchwork Wed May 11 12:02:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 9068261 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 8E512BF29F for ; Wed, 11 May 2016 12:03:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7D2F520154 for ; Wed, 11 May 2016 12:03:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9336620172 for ; Wed, 11 May 2016 12:03:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752573AbcEKMDI (ORCPT ); Wed, 11 May 2016 08:03:08 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:28622 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751824AbcEKMCp (ORCPT ); Wed, 11 May 2016 08:02:45 -0400 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O7000C41HGDNL50@mailout4.w1.samsung.com>; Wed, 11 May 2016 13:02:37 +0100 (BST) X-AuditID: cbfec7f5-f792a6d000001302-6d-57331f5d7d0c Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 46.0B.04866.D5F13375; Wed, 11 May 2016 13:02:37 +0100 (BST) Received: from AMDC2174.DIGITAL.local ([106.120.53.17]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O7000965HG0RB60@eusync3.samsung.com>; Wed, 11 May 2016 13:02:37 +0100 (BST) From: Krzysztof Kozlowski To: Sylwester Nawrocki , Tomasz Figa , Michael Turquette , Stephen Boyd , Kukjin Kim , Krzysztof Kozlowski , linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Bartlomiej Zolnierkiewicz Subject: [PATCH 18/18] clk: samsung: Fully constify mux parent names Date: Wed, 11 May 2016 14:02:14 +0200 Message-id: <1462968134-6085-18-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1462968134-6085-1-git-send-email-k.kozlowski@samsung.com> References: <1462968134-6085-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHLMWRmVeSWpSXmKPExsVy+t/xq7qx8sbhBtfvqVpsnLGe1eL1C0OL /sevmS02Pb7GavGx5x6rxeVdc9gsZpzfx2Rx8ZSrxeE37awWP850s1is2vWH0YHb4/2NVnaP y329TB47Z91l99i0qpPNY/OSeo++LasYPT5vkgtgj+KySUnNySxLLdK3S+DK+HL+KGPBGfaK +UveMTYwLmbrYuTkkBAwkTgyaS6ULSZx4d56MFtIYCmjxKIf9V2MXEB2I5NE68ZL7CAJNgFj ic3Ll7CBJEQEmpglHuxqYQZJMAtYSGzduhqsSFjARWJdzwywOIuAqsSfv2/A4rwC7hIbvz9h htgmJ3Hy2GRWEJsTKH573SGmLkYOoG1uEs++c09g5F3AyLCKUTS1NLmgOCk910ivODG3uDQv XS85P3cTIyQUv+5gXHrM6hCjAAejEg/vhiqjcCHWxLLiytxDjBIczEoivHNljcOFeFMSK6tS i/Lji0pzUosPMUpzsCiJ887c9T5ESCA9sSQ1OzW1ILUIJsvEwSnVwHjaPyb427PqtIR16yu9 NkuIGl8Lklu58Lv0d4mkbyaiv6bIveBXqMk6s6+lyildgzG9s+xtk/Y3Jk/9PxdbMiNrJBc8 2RM6gXelZIwsF9+7M61MHjcv/t4UuaijibH4udu0Zewiz9ZzNOqYGP1l5V659qGn5HKnfR+e W7ffKj/KPU2/dzLjRiWW4oxEQy3mouJEAP1jn1NBAgAA 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=-8.3 required=5.0 tests=BAYES_00, 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 The PNAME macro defines array of strings for names of mux parents. Although the strings itself were const but pointers to them were not thus this data resided in initdata. Make this an array of const pointers to const strings and move to initconst section. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/samsung/clk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk.h b/drivers/clk/samsung/clk.h index 61db98dd01a2..77d4657a95c5 100644 --- a/drivers/clk/samsung/clk.h +++ b/drivers/clk/samsung/clk.h @@ -261,7 +261,7 @@ struct samsung_gate_clock { #define GATE_DA(_id, dname, cname, pname, o, b, f, gf, a) \ __GATE(_id, dname, cname, pname, o, b, f, gf, a) -#define PNAME(x) static const char *x[] __initdata +#define PNAME(x) static const char * const x[] __initconst /** * struct samsung_clk_reg_dump: register dump of clock controller registers.