From patchwork Tue Feb 20 15:15:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 128914 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp4746314ljc; Tue, 20 Feb 2018 07:15:43 -0800 (PST) X-Google-Smtp-Source: AH8x224bQpXhJ6G3vxER/WOl32iudZyh7N67anTRkTioy+ZE53vCF5oQN4l/+pwyeSK4HjTHSYDL X-Received: by 2002:a17:902:aa90:: with SMTP id d16-v6mr6386347plr.132.1519139743660; Tue, 20 Feb 2018 07:15:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519139743; cv=none; d=google.com; s=arc-20160816; b=E4ZJ2QMNb1HfwcBK86IiwrCJY/hGv5GoGSBQegmYYfjikdiLS0xjHzOQyKnzuSZhzJ ZVM/FuuxqydPbMdgTD6O49pT+DDSytYVkXP46gxEpgpxFKW7ikV+1HZS2tV+SKejibOb qpUJz6QMCe+h58ZUZujXhOJbZ5glv0FzH8iAn1r21FP18abCoLkZKwrQD/3S3tIRUYz7 9MVEsPteeFHoUZCImjUkMrbgdiE23DhHp29WAgBJN2AeJd3maAKE6a8ZKZS+fDHRWW7p JGVjDN9CUfI/fEfR6V2hEi/O1Pt9cK2beGd9LsEq3tVlXUf6p9dJ17G9QD1VXVq5AgoE paag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=fmnYjyJPlXBKbAOCx3nMwDKeio/74/hMt0iFu24y6iE=; b=arKCFbtH8W2IPHVGKELlDw1Fi4fLGF5QPpYetMXHpC8d3apAABHkR+6vGU6ZAbcJ6O Nbt0LiKbMvfTt8ZrNM1Xpdp5VaC6ToLLpze/EZsAjntPFNPiFRVqUSi/6pPDqQdBeQ2n BUsyPpUd90IvkCl4ARBPCjj1pnuvkhN1Dzq+HLeGsJAMPhZ1vRGvusI0QLmoaTvCdBmq 9617Qm7xhYeol7qFxvdrXkNbJ66IeYORc6Ou6Fv/AZ4nmfD07u24eU0ikeFO3rAFoafh p9oUZFpOA3iNE5tq8kOYSved9CWHy16hq6n0azNNbcJnzyXmGT6Hk+VwLBM7bIH9d4fk Gz+g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s4si3248386pgf.390.2018.02.20.07.15.43; Tue, 20 Feb 2018 07:15:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752708AbeBTPPj (ORCPT + 28 others); Tue, 20 Feb 2018 10:15:39 -0500 Received: from mout.kundenserver.de ([212.227.126.131]:56369 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752424AbeBTPPh (ORCPT ); Tue, 20 Feb 2018 10:15:37 -0500 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue007 [212.227.15.129]) with ESMTPA (Nemesis) id 0MRvbR-1fCeYH1GTh-00SuBJ; Tue, 20 Feb 2018 16:15:32 +0100 From: Arnd Bergmann To: Michael Turquette , Stephen Boyd , Arnd Bergmann Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] clk: hisilicon: mark wdt_mux_p[] as const Date: Tue, 20 Feb 2018 16:15:21 +0100 Message-Id: <20180220151531.3379003-1-ar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BtDNBfr+M75+3PRE+Yol/EQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The symbol is in the __initconst section but not marked init, which caused a warning when building with LTO. This makes it 'const' as was obviously intended. Signed-off-by: Arnd Bergmann --- drivers/clk/hisilicon/crg-hi3516cv300.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.0 diff --git a/drivers/clk/hisilicon/crg-hi3516cv300.c b/drivers/clk/hisilicon/crg-hi3516cv300.c index 2007123832bb..53450b651e4c 100644 --- a/drivers/clk/hisilicon/crg-hi3516cv300.c +++ b/drivers/clk/hisilicon/crg-hi3516cv300.c @@ -204,7 +204,7 @@ static const struct hisi_crg_funcs hi3516cv300_crg_funcs = { /* hi3516CV300 sysctrl CRG */ #define HI3516CV300_SYSCTRL_NR_CLKS 16 -static const char *wdt_mux_p[] __initconst = { "3m", "apb" }; +static const char *const wdt_mux_p[] __initconst = { "3m", "apb" }; static u32 wdt_mux_table[] = {0, 1}; static const struct hisi_mux_clock hi3516cv300_sysctrl_mux_clks[] = {