Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5306551ybp; Tue, 8 Oct 2019 00:21:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqztRg10QD9h5+cvXPFM/TnK+sPnCvfBSEiMSwVz8EC7qHDAeDh7gy7la3vomyjg9sFyT96+ X-Received: by 2002:a17:906:fd1:: with SMTP id c17mr27841378ejk.45.1570519280441; Tue, 08 Oct 2019 00:21:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570519280; cv=none; d=google.com; s=arc-20160816; b=fMZDlFuwxsO4T7+2JVSHQQquBIXfD2p/ssDXlkCGws7OrEYdPT5IBfGxcP+ur9HCWI WDwKjcX+YR7d63Mb4BFHLoYM0Fue3lnh55+O0li1Z1DhX+6FDYDMc+hIIygU8QJFexIQ qrZqCf1/EvtQf4ZV7eF4K3cLIe51KxCjXj0jhGsDnUXv+rHtHQtUFndWRmAA4u/8qs08 EH18Jc2ZL3eFC1IK4l3x2mWpdHXY6+qtldzVnI8DdqFcDybJCt0lw9gDiXAxNJDhpN1N tJa1MTUW0BzPVmjgFXuYjbFKi23/T+9HzbyqAU/CSuDI5l77J9cfzZgNTssgS4HqnHOr XKhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=v5WPtrjhd+G4m5S6507fMEkhh0IBsqrwQ/S8FQX8eHM=; b=mJMUesFWFQA9oAwK4oSX55zjtswDe0J+S3N9m7Fat/Ubxj3XY+ZeQGPR3mnnf3wO6l CKnCa76BJGbI3q0tnN61MvRmEcqqqCMGmhrhJ/plkPcuC3ZPPa2Apk4kSt7OaXliCRLy hkgA/Occa7TbjTFbkMqjlGPaW8bB7d3+QVvk9Vu18xBsXAsO4ChFAPQOIMEMuTXtudsf AQJK3FsUhpTYFPojOZJFGCEC2C/BRR3r7bVtCVRZ2VJZkLWLLAwnDjPALFZArTDytMQl ghFOnCrQoA9n2ChgO+7Xjt9qgM9Vf48hNlZ6nEeEHooZZ0L3JdElNFJNKwBdp2KuUrtS sWxA== 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 g5si9893261edb.324.2019.10.08.00.20.56; Tue, 08 Oct 2019 00:21:20 -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; 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 S1730302AbfJHHUq (ORCPT + 99 others); Tue, 8 Oct 2019 03:20:46 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:3268 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730144AbfJHHUq (ORCPT ); Tue, 8 Oct 2019 03:20:46 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 95CDCD7D2A18946F4CEF; Tue, 8 Oct 2019 15:20:44 +0800 (CST) Received: from localhost (10.133.213.239) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.439.0; Tue, 8 Oct 2019 15:20:35 +0800 From: YueHaibing To: , , , , , , , , , , , CC: , , Subject: [PATCH -next] clk: imx: clk-pll14xx: Make two variables static Date: Tue, 8 Oct 2019 15:19:08 +0800 Message-ID: <20191008071908.24568-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.133.213.239] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix sparse warnings: drivers/clk/imx/clk-pll14xx.c:44:37: warning: symbol 'imx_pll1416x_tbl' was not declared. Should it be static? drivers/clk/imx/clk-pll14xx.c:57:37: warning: symbol 'imx_pll1443x_tbl' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/clk/imx/clk-pll14xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/imx/clk-pll14xx.c b/drivers/clk/imx/clk-pll14xx.c index 7faad60..5c45819 100644 --- a/drivers/clk/imx/clk-pll14xx.c +++ b/drivers/clk/imx/clk-pll14xx.c @@ -41,7 +41,7 @@ struct clk_pll14xx { #define to_clk_pll14xx(_hw) container_of(_hw, struct clk_pll14xx, hw) -const struct imx_pll14xx_rate_table imx_pll1416x_tbl[] = { +static const struct imx_pll14xx_rate_table imx_pll1416x_tbl[] = { PLL_1416X_RATE(1800000000U, 225, 3, 0), PLL_1416X_RATE(1600000000U, 200, 3, 0), PLL_1416X_RATE(1500000000U, 375, 3, 1), @@ -54,7 +54,7 @@ const struct imx_pll14xx_rate_table imx_pll1416x_tbl[] = { PLL_1416X_RATE(600000000U, 300, 3, 2), }; -const struct imx_pll14xx_rate_table imx_pll1443x_tbl[] = { +static const struct imx_pll14xx_rate_table imx_pll1443x_tbl[] = { PLL_1443X_RATE(650000000U, 325, 3, 2, 0), PLL_1443X_RATE(594000000U, 198, 2, 2, 0), PLL_1443X_RATE(393216000U, 262, 2, 3, 9437), -- 2.7.4