aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZou Wei <[email protected]>2020-11-04 19:19:31 +0800
committerShawn Guo <[email protected]>2020-11-10 10:17:23 +0800
commit550b562a153f84282c60fc3cb0d98f4e5609f0b4 (patch)
treeb9c5bc7744a5e2f9bdf325d5a76405edfcbdb6cd
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 <[email protected]> Signed-off-by: Zou Wei <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
-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 {