Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1939736imm; Thu, 24 May 2018 03:16:51 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq1ANtjjAeN7I8SA5KKin436au6fNHaAvomtB6pvH14YuY63JdLk81Or+FMhS+ujG8OP8cU X-Received: by 2002:a62:d6da:: with SMTP id a87-v6mr6647524pfl.200.1527157011255; Thu, 24 May 2018 03:16:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527157011; cv=none; d=google.com; s=arc-20160816; b=A31wDvNnWsaS5B3RDla3XmDajwlVIPhPLlF+m8yBg8By5RKZv5oabXgvANVFrP01Kc rGFIVUN8ZzWRYBYaKpY3DJJM2VdPIWPxLbtoKBMJfW1xUBBx5lZT9uAci35XPglrp9YY Psyc02POr/qUfsOsEF1WhMgvF3YCDooZfdrURh422DjcEb2jNAr4j7anQaHdCDenq3ZY R0C9OgbbXoDjEWRo2zci/8LDhXsFEby1LvxJzKErOVmJ3nsB+toOFwkuLXtRdLarsV3j omh/5SemISknr6r10NjXHdOuhHqjtCOeZ1bjDb+FG2++kxC8fQS7Ywsr8OHI0eUuWf2+ SG6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=tCDCpTjLyf62Bc7++RAlcwfoKzwh525oGyLfPL1b774=; b=JtYICXvq6lG/ymmNloYarZv4+xUqU7HDzDLocNVF3L6zUN91Zuayn2/Z3JkInFlxVj CwHQjnM1NvLIy/R0oeBTnaxNbhSoHvbj0Cb8jZnjDc8Cf7vt5ZtifzuuoUMhWxdW9eG9 8/EVHMxm7hvRhZ1UDnkTfnZXYY7vH5hhE+bTAJ0BOnGLHSGB4wSbZMErQDZIcGtSuL+p wL7KzrgvZA/F3hBbrP+R8Xn99SciqtcVcinWRHFMm+1A/hetBqsyyG++brRKgI+F45NA 7JHjG7VUs7Zi0drNlmIuT0mr1NNhzk1QfIFOONXASO/zUzE+OOhcjubgpobrz7ahl8rr i7CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vYuHWdfw; 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 a3-v6si20055049pff.43.2018.05.24.03.16.36; Thu, 24 May 2018 03:16:51 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b=vYuHWdfw; 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 S1031584AbeEXKPt (ORCPT + 99 others); Thu, 24 May 2018 06:15:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:53806 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031093AbeEXKEY (ORCPT ); Thu, 24 May 2018 06:04:24 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B216B2089F; Thu, 24 May 2018 10:04:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527156264; bh=QI2RhVapC6MnAtlj0yt2O52bbz8LN4gapiupmG5NKm8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vYuHWdfwOYVVCqfUwTyqf6Xh18w2Yd/MI/wc/Re8uSzNcKTTuA1Fiv5pFkb+732Tx uUjjmO2oLI1GYMyOZJ8SPvmptmNAeaFDPILGXrIH72pdT+s79aAOw2biobEen+6M9E DgMsr6hKSpXlAJhfqHP0Uv4FlJ/kMSki1q4sFbAI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Stephen Boyd , Sasha Levin Subject: [PATCH 4.16 123/161] clk: hisilicon: mark wdt_mux_p[] as const Date: Thu, 24 May 2018 11:39:08 +0200 Message-Id: <20180524093033.021891453@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180524093018.331893860@linuxfoundation.org> References: <20180524093018.331893860@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.16-stable review patch. If anyone has any objections, please let me know. ------------------ From: Arnd Bergmann [ Upstream commit df934cbcbff7afbc024bf05f02615917c61f6470 ] 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 Fixes: c80dfd9bf54e ("clk: hisilicon: add CRG driver for Hi3516CV300 SoC") Signed-off-by: Stephen Boyd Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/clk/hisilicon/crg-hi3516cv300.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/clk/hisilicon/crg-hi3516cv300.c +++ b/drivers/clk/hisilicon/crg-hi3516cv300.c @@ -204,7 +204,7 @@ static const struct hisi_crg_funcs hi351 /* 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[] = {