提交 5c46f43f 编写于 作者: R Rob Herring

clk: rockchip: fix function type for CLK_OF_DECLARE

Adding function type checking to CLK_OF_DECLARE found a type mismatch with
rk2928_gate_clk_init. The function only takes a single struct device_node
parameter.
Signed-off-by: NRob Herring <robh@kernel.org>
Acked-by: NMike Turquette <mturquette@linaro.org>
上级 25585daa
...@@ -24,8 +24,7 @@ static DEFINE_SPINLOCK(clk_lock); ...@@ -24,8 +24,7 @@ static DEFINE_SPINLOCK(clk_lock);
* Gate clocks * Gate clocks
*/ */
static void __init rk2928_gate_clk_init(struct device_node *node, static void __init rk2928_gate_clk_init(struct device_node *node)
void *data)
{ {
struct clk_onecell_data *clk_data; struct clk_onecell_data *clk_data;
const char *clk_parent; const char *clk_parent;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册