Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5c46f43f authored by Rob Herring's avatar Rob Herring
Browse files

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: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarMike Turquette <mturquette@linaro.org>
parent 25585daa
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -24,8 +24,7 @@ static DEFINE_SPINLOCK(clk_lock);
 * Gate clocks
 */

static void __init rk2928_gate_clk_init(struct device_node *node,
					 void *data)
static void __init rk2928_gate_clk_init(struct device_node *node)
{
	struct clk_onecell_data *clk_data;
	const char *clk_parent;