Commit 550b562a authored by Zou Wei's avatar Zou Wei Committed by Shawn Guo

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: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarZou Wei <zou_wei@huawei.com>
Reviewed-by: default avatarStephen Boyd <sboyd@kernel.org>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 00cb754a
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#define IMX_SIP_SET_CPUFREQ 0x00 #define IMX_SIP_SET_CPUFREQ 0x00
static struct imx_sc_ipc *ccm_ipc_handle; 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; static struct platform_driver imx_clk_scu_driver;
struct imx_scu_clk_node { struct imx_scu_clk_node {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment