drivers/clk/clk-gate.c: Fix sparse warning
drivers/clk/clk-gate.c:79:16: warning: symbol 'clk_gate_ops' was not declared. Should it be static? Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
525bc8fc66
commit
d654d73537
|
@ -76,7 +76,7 @@ static int clk_gate_is_enabled(struct clk *clk)
|
|||
return g->flags & CLK_GATE_INVERTED ? 1 : 0;
|
||||
}
|
||||
|
||||
struct clk_ops clk_gate_ops = {
|
||||
static struct clk_ops clk_gate_ops = {
|
||||
.enable = clk_gate_enable,
|
||||
.disable = clk_gate_disable,
|
||||
.is_enabled = clk_gate_is_enabled,
|
||||
|
|
Loading…
Reference in New Issue