diff options
author | Zou Wei <zou_wei@huawei.com> | 2020-11-04 12:19:31 +0100 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-11-10 03:17:23 +0100 |
commit | 550b562a153f84282c60fc3cb0d98f4e5609f0b4 (patch) | |
tree | b9c5bc7744a5e2f9bdf325d5a76405edfcbdb6cd /drivers/clk | |
parent | clk: imx8mq: drop of_match_ptr from of_device_id table (diff) | |
download | linux-550b562a153f84282c60fc3cb0d98f4e5609f0b4.tar.xz linux-550b562a153f84282c60fc3cb0d98f4e5609f0b4.zip |
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')
-rw-r--r-- | drivers/clk/imx/clk-scu.c | 2 |
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 { |