summaryrefslogtreecommitdiff
path: root/drivers/clk/imx
diff options
context:
space:
mode:
authorZou Wei <zou_wei@huawei.com>2020-11-04 19:19:31 +0800
committerShawn Guo <shawnguo@kernel.org>2020-11-10 10:17:23 +0800
commit550b562a153f84282c60fc3cb0d98f4e5609f0b4 (patch)
treeb9c5bc7744a5e2f9bdf325d5a76405edfcbdb6cd /drivers/clk/imx
parent00cb754ac62253c84ea969c8d0d48884111ad909 (diff)
clk: imx: scu: Make pd_np with static keyword
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 <hulkci@huawei.com> Signed-off-by: Zou Wei <zou_wei@huawei.com> Reviewed-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'drivers/clk/imx')
-rw-r--r--drivers/clk/imx/clk-scu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/imx/clk-scu.c b/drivers/clk/imx/clk-scu.c
index d0243c52ccbc..d10f60e48ece 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 {