提交 549015c3 编写于 作者: P Paul Mundt

sh: clkfwk: Disable init clk op for non-legacy clocks.

Presently it's only legacy users that are using this clock op, guard it
with an ifdef to ensure that no new users start using it.
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 35a96c73
......@@ -19,7 +19,9 @@ struct clk_mapping {
};
struct clk_ops {
#ifdef CONFIG_SH_CLK_CPG_LEGACY
void (*init)(struct clk *clk);
#endif
int (*enable)(struct clk *clk);
void (*disable)(struct clk *clk);
unsigned long (*recalc)(struct clk *clk);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册