Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752388AbdGMLsp (ORCPT ); Thu, 13 Jul 2017 07:48:45 -0400 Received: from mail-cys01nam02on0067.outbound.protection.outlook.com ([104.47.37.67]:64660 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751288AbdGMLru (ORCPT ); Thu, 13 Jul 2017 07:47:50 -0400 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; From: Dong Aisheng To: CC: , , , , , , , , Subject: [PATCH V2 08/10] clk: imx: make mux parent strings const Date: Thu, 13 Jul 2017 19:47:13 +0800 Message-ID: <1499946435-7177-9-git-send-email-aisheng.dong@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1499946435-7177-1-git-send-email-aisheng.dong@nxp.com> References: <1499946435-7177-1-git-send-email-aisheng.dong@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131444200686528606;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.168.50;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(336005)(39380400002)(39850400002)(39450400003)(39860400002)(39410400002)(39840400002)(39400400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(54534003)(9170700003)(305945005)(5003940100001)(36756003)(76176999)(5660300001)(498600001)(68736007)(104016004)(189998001)(53936002)(50986999)(6666003)(356003)(8656002)(106466001)(6916009)(2351001)(39060400002)(2950100002)(77096006)(85426001)(2906002)(38730400002)(86362001)(47776003)(81166006)(8936002)(48376002)(50226002)(105606002)(110136004)(50466002)(7416002)(54906002)(33646002)(4326008)(8676002)(626005);DIR:OUT;SFP:1101;SCL:1;SRVR:BL2PR03MB468;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:ovrnspm;A:1;MX:1;PTR:InfoDomainNonexistent;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BL2FFO11FD053;1:6pe4b9Ay8d8dturHTdhqvwMVIvrrJg1U+ynBvfKBEs?= =?us-ascii?Q?hFrTT1WJz9df8dk0sM3Gwb1qVB44zNhyVbikEXhwYR5x7JqvOWARRb6e8MVl?= =?us-ascii?Q?gHCDX+W8VjS5XkBUBUG3Yhfofce6zHU/axJTyD4w5c1if0k7P9Ndsl8yEls4?= =?us-ascii?Q?5TW7pV725WWAUD/0CUAZDagP6aNLcKjoIObyc26xqvsdqMMTsWYuZ0437S0U?= =?us-ascii?Q?8g2ZbFmWGWlgzoS2uj2t0vnza4G1HxP9SECJumBSiFw/O1sxVA0G//JYcFSa?= =?us-ascii?Q?VjevqsTytbHt6MVGBdoAhfzXtTA4IJHv/sGspm6p86/SDp5E9s5BBVm41wXP?= =?us-ascii?Q?Vjl0hzC9nXMJbf0Ns3cKDKD4DW21esyt1iSh10ozCTaduUXNqZnGjC9tD0gv?= =?us-ascii?Q?tq7EIEr5krWUL9v8+ab+JsH54Os87wrM48GKF/3TaVPoeBLIoa2FHOoY7H3G?= =?us-ascii?Q?AA2ALTmb1R0yfv//fdhdTgBEkj83kLjQUbhxSEyeZlrBgcfock0QPftYrt+W?= =?us-ascii?Q?rrgUPcFcHGyQEXE8Puau2II2g00gbA3aLaEDJGjnjgoHuIsvOGlMUx+yLg3B?= =?us-ascii?Q?JVVcnOytBhyTnxGyyooXMz33v4JvpqtFXMihB+24QBbSm1E9LlHL1R6sRdzP?= =?us-ascii?Q?XwFz/ASMbneBT1sv0YHBRoDeL4yO9JgOsezpCjpx7ut4+BgaSxkCL6RsA6n7?= =?us-ascii?Q?4yPk/BFOmjsbnYY+iSLGk2eECYopYBTLzLmimlzlF5KriaNJVqI8pvwNrCZJ?= =?us-ascii?Q?Mr/O0SGFr/JbEF9zlbvm3i/O0nnziZuU045b+FXzozzNEdLcAYJejQmK1RY7?= =?us-ascii?Q?YyYkeWeTgs37P4YFXugj6fjIJJsb4IJShIN08uPPHpFqqrE0/soE3pPo69S/?= =?us-ascii?Q?iDZ2gsLbvusYF6WV8YCfG/BzR6lywTIaGeN9xQAskAu1HpD4HxUWbQU7ZIb5?= =?us-ascii?Q?VDoHyPbjpznNXaPSFjoSlOlX92lfRRER7phu52YxDXDI5sQl1JCO20uhDhsu?= =?us-ascii?Q?6PrxiUqUALF5kwUTGV3gTUsQdx7niMnVhieHV39dCfoA=3D=3D?= MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d702fee3-0edf-465c-46ff-08d4c9e4fc29 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603031)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:BL2PR03MB468; X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB468;3:hGFKoYNgT22IsegPaHPKNA1d03ceGBWCuuFdCFDGopMhiLDTrDLhW5cOmsu4WYMxMsCVy8xahkv0NvD6t8pXuVzRf/tGf/oeAetQ6tqUkxUpPxdtuofUH/UuhBZLbkZrHE4X5EcCzqFdlM4nbGwWdRT5w3j5+bwyitaNORM0hDb+/9mLBrX47qyMVQuNAA8lYKAkMXLx3lgy0o0/+i6fxhcWo25CMG8Nt/HW5rwX3+ZCMIXjWqFJgZiVb4ymkM+A0vn/n1tP8qwmYE2H5G3wW9C4F3RfpvbN320TZGDYg9CfcCHJrIPQMOdDwhAKvh5vuyAZnl+87dsdjK5AypFCZMbQ/RioA9QE+TG4bDfpfb2z+pioWDebHJVq64QPqnVSRA1kvplMJm6rTJ1dvwakURXh3KUjSrsLqOnG3HGZmkyZTMI5aRFF92x33XN9v9/mrEhHAwaobZ0nL1utClFMAZ4F+ryV0Q7D7VBklJK8jZzu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turNy X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(185117386973197); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(2017060910075)(13018025)(5005006)(13016025)(8121501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(6055026)(6096035)(20161123561025)(20161123563025)(20161123556025)(20161123565025)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123559100)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BL2PR03MB468;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BL2PR03MB468; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BL2PR03MB468;4:RZGd9v2W9DR4ww8z5qSNHY/K7HmD3I5oKne7v0QZPdX?= =?us-ascii?Q?DfGCXrGmbP1IUcrb2af96QMzD8wk0JSgMLxFrVL3D3atlSPYoZZi3u6NfRTq?= =?us-ascii?Q?MumLhT4dJKcNagoL3ojaglLml4T+K5VVjFDNxijK+nFwQe1EDnFzwOfcP5kr?= =?us-ascii?Q?Y1bTgTw7F0sZSgPrglczCoY692UV5dqzWz4gL9JS6RMKx19LN1awxJ0vR2B/?= =?us-ascii?Q?ldEtn7yBwUbp4P7x4GZGFfJ85yKqqpYapwj3I5JOzNgEQbEXRYHu+h+H83B2?= =?us-ascii?Q?V2KW971bqxGDzz+goBTj74PlopR0C0Eb6izVQDJHOG8a2zyOuIB6/kq4cEDR?= =?us-ascii?Q?MPL/bgJ+GtuoBLqMVktB/yMoelh8Vg1P0kp4r3icVQdY9AriJCChPRH18RPx?= =?us-ascii?Q?HiQ3/27S4QwmK3j8WoI7CYe1l8MmvK8IXoxLv6sEeHUO947azc46ZqJdCCRR?= =?us-ascii?Q?mNFRoDoQXixNqrhCtpzYTGRT9FjRukuDlf8X5Xyzm83pGsqCZdhiDFeiZTh9?= =?us-ascii?Q?LXQT0oXm6JBcSv4Q/NQ93C0kCXgPJboCT6RW6n4wZTBQWUwxFRLg0DZjBKKo?= =?us-ascii?Q?VyAqpzNwFx3s5fkEtVR/sOI0Cu8O8UT2mn9q7Lh7a7gYsagZJIkbgNbrml6N?= =?us-ascii?Q?gqX9P21zJLFZ+EYYYVKkQbvWpaNlsU5C9gjkA5PYRtDxW3ea8xRNRNTF6t1i?= =?us-ascii?Q?IM/alXuj5tq54/Etddz8abSE58K4KLXsplAEaigrLsoguh+WnamchStcBnzS?= =?us-ascii?Q?OFiL0rRnymuENSX/eBYtPU/YQS6L6BEiG3u/kSUX3utZPUlT9HoTnGIEBAbh?= =?us-ascii?Q?G+rzvOBE1ZNTixIbpqJ52P366QjIHFih5ZmMuvnzUie/BQkx0802KopR06lr?= =?us-ascii?Q?i3tLYXPNc547cZFVE7CVIzp8azU+xYNfLayuemiIJPCGgkF7ExZSDA6dM05L?= =?us-ascii?Q?WSe0NcgeYZltJR7jJ/j6SF1uB8IIIdoJH3HJqFwOifBczhoeglC9qabJaplD?= =?us-ascii?Q?8I1CgyXhj9oAAOqNgkTd7pxXrlhkDv6Spb945I6B+AEhieQDmGu0sP7pykV4?= =?us-ascii?Q?ZloCRJuikukALoXGUvAVyqd877Zsi2KsPmkSaRP2Kxo2Swwkt0PbVUyMZiFb?= =?us-ascii?Q?h7Xqf7kcZHrgaicGeAIDzRkBfjzMq2FLLES9O4ccsnVTv6lgZ4PpeGuVT2PI?= =?us-ascii?Q?m+JjmKOwr2+XYZl9ySAnVcOGdblHXTfgW34AeyFlAd406fmUt4GgxzatHTm0?= =?us-ascii?Q?dzDluHvBpLQzCccx/rDpqup0JNTPs9rEgeBodswJIt0zhsFS6DCSUolu+Qbe?= =?us-ascii?Q?Of+8J5xHmJ71+SCZolj0JiEsG5IZSHDonRabu5ASi?= X-Forefront-PRVS: 0367A50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ctZjCv4r9/cnDVN0X++gX+HFgERTbEWu2fUVgDlkViYFNEHKR?= =?us-ascii?Q?4s002xz9yECo8jT5kF5gAglzd1op548kygN5cUKauX9a0meK3z6jmfVEkt78?= =?us-ascii?Q?mzZa0bwgyE0iAatX1+Ja8xjd6CKAfGnrMKpb4ROSaHxaZ6WpxSgdK0gRo5nH?= =?us-ascii?Q?xilNKo/ImMX8ZgQN1B6GCgrOVmnBvr73bXOTGZPVNcSG/NO41F6bYKOeVcrO?= =?us-ascii?Q?J4Rf6fxrkCVD80o4DQxyKCXqSOxY3az5SWW7C5kaX7Ocbk4DG7fwzGiC+j0D?= =?us-ascii?Q?/3FDBloLlZx9XmHl114tAz3DyiYJEGqG18gINaDxkGZML4fq9cyhom3zQILA?= =?us-ascii?Q?6pc6djcHIz7/9dWZejbHFzc31pKtPSXo1IOfqFIUx6flutqqHZaLYfcXdFrt?= =?us-ascii?Q?qvajs234jUOhhK/fFJV59DS1L2HwIjhkOqJqvEgaMcDQMttUYVvqGhe77RSW?= =?us-ascii?Q?l4mN8Wg0sqDGylKcA69hGR03Nb7VTQOMq7iefqZ8EX42J3nnzaKyzxNdu1mv?= =?us-ascii?Q?bYs2eFORpzfK9af1hfRiue5d8cKtlGJxmZGMK9buobbGPnOX64s2uX83YXof?= =?us-ascii?Q?A1h9UvpW9gBLtO2mSeXNrM4n53Hfb1VEOHwSerwQlF/dUFUQVmCh78Oxqz4Y?= =?us-ascii?Q?MFvZJXmKlGK6qyaokZ4ZOigmWvRl1OPmeLF7UKEKIMvdqEb3LnZWhd+pMNcA?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB468;5:tbYfziXob5XmgdeTjDGD+CeUxjFtWtd71v5L4DU6nqNqZurpY06vFtH+z3GHieLjVww/XLLzbDDYvR8krXEu+wYU5PEyCHM340PUC2tWfM6T79tS9LsE//iwZ+8JWJzh0ZdcBoljvtkWLnh0fH8ISCb2qScYQBu0MI/fEhQJJhL9XVz3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8F3tGbVgngJp/aYxAcKtaU/04zhszWD7aZoa+QIoCnyFubOqgLLKGLAUjKKD3/HM93wlLseGd7dMSalEagb4wdRbGtk0Kx1O9u68VxRwXRAy0RzkBldwda7gJuAamrOZFvmHrGrKW2YxnCcxgDDUTjHM5utaTOK1f6RTj3ZF0VTTvcVrwK2uLNMz+NmS2c/w6ViPAUJxTOse1eA+Q/N+RqWvGplx1mWiHMXo2A/OA8INgDUPasv1r+FY/0zUuaqn54UqEP+bs= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jul 2017 11:47:48.4656 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[192.88.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB468 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5016 Lines: 122 As the commit 2893c379461a ("clk: make strings in parent name arrays const"), let's make the parent strings const, otherwise we may meet the following warning when compiling: drivers/clk/imx/clk-imx7ulp.c: In function 'imx7ulp_clocks_init': drivers/clk/imx/clk-imx7ulp.c:73:35: warning: passing argument 5 of 'imx_clk_mux_flags' discards 'const' qualifier from pointer target type clks[IMX7ULP_CLK_APLL_PRE_SEL] = imx_clk_mux_flags("apll_pre_sel", base + 0x508, 0, 1, pll_pre_sels, ARRAY_SIZE(pll_pre_sels), CLK_SET_PARENT_GATE); ^ In file included from drivers/clk/imx/clk-imx7ulp.c:23:0: drivers/clk/imx/clk.h:200:27: note: expected 'const char **' but argument is of type 'const char * const*' ... Cc: Stephen Boyd Cc: Michael Turquette Cc: Shawn Guo Signed-off-by: Dong Aisheng --- ChangeLog: v1->v2: no changes --- drivers/clk/imx/clk-busy.c | 2 +- drivers/clk/imx/clk-fixup-mux.c | 2 +- drivers/clk/imx/clk.h | 18 +++++++++++------- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/drivers/clk/imx/clk-busy.c b/drivers/clk/imx/clk-busy.c index 5cc9959..097625c 100644 --- a/drivers/clk/imx/clk-busy.c +++ b/drivers/clk/imx/clk-busy.c @@ -154,7 +154,7 @@ static struct clk_ops clk_busy_mux_ops = { struct clk *imx_clk_busy_mux(const char *name, void __iomem *reg, u8 shift, u8 width, void __iomem *busy_reg, u8 busy_shift, - const char **parent_names, int num_parents) + const char * const *parent_names, int num_parents) { struct clk_busy_mux *busy; struct clk *clk; diff --git a/drivers/clk/imx/clk-fixup-mux.c b/drivers/clk/imx/clk-fixup-mux.c index c9b327e..44817c1 100644 --- a/drivers/clk/imx/clk-fixup-mux.c +++ b/drivers/clk/imx/clk-fixup-mux.c @@ -70,7 +70,7 @@ static const struct clk_ops clk_fixup_mux_ops = { }; struct clk *imx_clk_fixup_mux(const char *name, void __iomem *reg, - u8 shift, u8 width, const char **parents, + u8 shift, u8 width, const char * const *parents, int num_parents, void (*fixup)(u32 *val)) { struct clk_fixup_mux *fixup_mux; diff --git a/drivers/clk/imx/clk.h b/drivers/clk/imx/clk.h index 702faba..2646cc3 100644 --- a/drivers/clk/imx/clk.h +++ b/drivers/clk/imx/clk.h @@ -68,7 +68,7 @@ struct clk *imx_clk_busy_divider(const char *name, const char *parent_name, struct clk *imx_clk_busy_mux(const char *name, void __iomem *reg, u8 shift, u8 width, void __iomem *busy_reg, u8 busy_shift, - const char **parent_names, int num_parents); + const char * const *parent_names, int num_parents); struct clk_hw *imx_clk_composite(const char *name, const char * const *parent_names, @@ -81,7 +81,7 @@ struct clk *imx_clk_fixup_divider(const char *name, const char *parent, void (*fixup)(u32 *val)); struct clk *imx_clk_fixup_mux(const char *name, void __iomem *reg, - u8 shift, u8 width, const char **parents, + u8 shift, u8 width, const char * const *parents, int num_parents, void (*fixup)(u32 *val)); static inline struct clk *imx_clk_fixed(const char *name, int rate) @@ -90,7 +90,8 @@ static inline struct clk *imx_clk_fixed(const char *name, int rate) } static inline struct clk *imx_clk_mux_ldb(const char *name, void __iomem *reg, - u8 shift, u8 width, const char **parents, int num_parents) + u8 shift, u8 width, const char * const *parents, + int num_parents) { return clk_register_mux(NULL, name, parents, num_parents, CLK_SET_RATE_NO_REPARENT | CLK_SET_RATE_PARENT, reg, @@ -189,7 +190,8 @@ static inline struct clk *imx_clk_gate4(const char *name, const char *parent, } static inline struct clk *imx_clk_mux(const char *name, void __iomem *reg, - u8 shift, u8 width, const char **parents, int num_parents) + u8 shift, u8 width, const char * const *parents, + int num_parents) { return clk_register_mux(NULL, name, parents, num_parents, CLK_SET_RATE_NO_REPARENT, reg, shift, @@ -197,7 +199,8 @@ static inline struct clk *imx_clk_mux(const char *name, void __iomem *reg, } static inline struct clk *imx_clk_mux2(const char *name, void __iomem *reg, - u8 shift, u8 width, const char **parents, int num_parents) + u8 shift, u8 width, const char * const *parents, + int num_parents) { return clk_register_mux(NULL, name, parents, num_parents, CLK_SET_RATE_NO_REPARENT | CLK_OPS_PARENT_ENABLE, @@ -205,8 +208,9 @@ static inline struct clk *imx_clk_mux2(const char *name, void __iomem *reg, } static inline struct clk *imx_clk_mux_flags(const char *name, - void __iomem *reg, u8 shift, u8 width, const char **parents, - int num_parents, unsigned long flags) + void __iomem *reg, u8 shift, u8 width, + const char * const *parents, int num_parents, + unsigned long flags) { return clk_register_mux(NULL, name, parents, num_parents, flags | CLK_SET_RATE_NO_REPARENT, reg, shift, width, 0, -- 2.7.4