mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
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>
This commit is contained in:
parent
e26a20339d
commit
a91f77ef15
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue