summaryrefslogtreecommitdiffstats
path: root/drivers/clk/hisilicon
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@kernel.org>2018-03-14 14:34:16 -0700
committerStephen Boyd <sboyd@kernel.org>2018-03-14 14:34:16 -0700
commita91f77ef155e90b738c0d716844e31e136e9c6b4 (patch)
treeccd6d80962cc81be83fd56e3dc38e27ce2108197 /drivers/clk/hisilicon
parente26a20339d222b538c1174cec2da45202319aa99 (diff)
downloadlinux-a91f77ef155e90b738c0d716844e31e136e9c6b4.tar.bz2
clk: hisilicon: Mark phase_ops static
Sparse rightfully complains: drivers/clk/hisilicon/clk-hisi-phase.c:88:22: warning: symbol 'clk_phase_ops' was not declared. Should it be static? drivers/clk/hisilicon/clk-hisi-phase.c:88:22: warning: symbol 'clk_phase_ops' was not declared. Should it be static? Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/hisilicon')
-rw-r--r--drivers/clk/hisilicon/clk-hisi-phase.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/hisilicon/clk-hisi-phase.c b/drivers/clk/hisilicon/clk-hisi-phase.c
index 42ce157ff828..5bce9297b78b 100644
--- a/drivers/clk/hisilicon/clk-hisi-phase.c
+++ b/drivers/clk/hisilicon/clk-hisi-phase.c
@@ -85,7 +85,7 @@ static int hisi_clk_set_phase(struct clk_hw *hw, int degrees)
return 0;
}
-const struct clk_ops clk_phase_ops = {
+static const struct clk_ops clk_phase_ops = {
.get_phase = hisi_clk_get_phase,
.set_phase = hisi_clk_set_phase,
};