Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1216337pxb; Wed, 4 Nov 2020 03:10:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJxXh+5H/U8Py9Qgp1X4SWpS7807zUm2KkOHsBCjTM22Rz1z3sJYyKZYKlxC7NkxuyCXlqFx X-Received: by 2002:a17:906:b0d7:: with SMTP id bk23mr25725349ejb.103.1604488209824; Wed, 04 Nov 2020 03:10:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604488209; cv=none; d=google.com; s=arc-20160816; b=XjO8Dmk+eKBSh0oinJ9EorlbFphOkKICfak2x2xegvv0gPBDFAlbChtpP0sUyeodC+ E57/QdFvgmi2ZiDa96Mxkegv6cYR1R1wEj0e1SMBZkfUvIk+SGAf9yXR4R+f2eZ4Lmip m2esNa91usx/CrHvSnMAmXBd7CcfWw+aFjYl7FgA0wCFzCB3zOQMyN5tdv2ZZj34bqOu jdG07kmM0x9G41shlSE9D1JLEkg/swfQky2/wOvXv77bsLG5t0s1og2Vh09isy9fDlDO ZxHFYczqq9hQ+pLNos0kgjaSRw5+tB5KG1ErUJdJStyqmYIG3Q8QUUjN2Zi88YRIWZR2 JpsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=79lkVcki3DamsuCvBjHZxxA/wwkua+I47ChasCLSQUw=; b=dD3jwBy4XeUB4poi4eNz+2wn4+kDQnaVZ7//e8GVhJKBGT9fBolru/WllKfAUvNcL4 RY3nJMaa3hRlhpkJDzqbwo/v6Z1a6dlhha6rxzDvJ+7wXnt/YYnpLvZviP2VBKeavrxE kuG26eYWoY/PJ8vAwxPJShOVZD383oE13ufUqrTXsJYvxTDJShd94U5H8JYZG/1Y6ztb htXGOHsurlfFKOPWrqsAR0JF2EOE/SlgPjyh8lppGwCCEGt8nuO/744F+/hrwdnYQWyH N/8QFB+NWm3rrF9DlRWupPsqj1zlnpEs3PIUWoQOVpzoW+s31dFOGLeb3H+rHbD1OVVE tItg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i14si1062684edl.282.2020.11.04.03.09.46; Wed, 04 Nov 2020 03:10:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729583AbgKDLHs (ORCPT + 99 others); Wed, 4 Nov 2020 06:07:48 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:7143 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729263AbgKDLHr (ORCPT ); Wed, 4 Nov 2020 06:07:47 -0500 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4CR3lf0448z15RTX; Wed, 4 Nov 2020 19:07:42 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.487.0; Wed, 4 Nov 2020 19:07:35 +0800 From: Zou Wei To: , , , , , , CC: , , , Zou Wei Subject: [PATCH -next] clk: imx: scu: Make pd_np with static keyword Date: Wed, 4 Nov 2020 19:19:31 +0800 Message-ID: <1604488771-40827-1-git-send-email-zou_wei@huawei.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.103.112] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following sparse warning: ./clk-scu.c:23:20: warning: symbol 'pd_np' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Zou Wei --- drivers/clk/imx/clk-scu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-scu.c b/drivers/clk/imx/clk-scu.c index d0243c5..d10f60e 100644 --- a/drivers/clk/imx/clk-scu.c +++ b/drivers/clk/imx/clk-scu.c @@ -20,7 +20,7 @@ #define IMX_SIP_SET_CPUFREQ 0x00 static struct imx_sc_ipc *ccm_ipc_handle; -struct device_node *pd_np; +static struct device_node *pd_np; static struct platform_driver imx_clk_scu_driver; struct imx_scu_clk_node { -- 2.6.2