Skip to content

Commit

Permalink
clk: sunxi: fix function type for CLK_OF_DECLARE
Browse files Browse the repository at this point in the history
Adding function type checking to CLK_OF_DECLARE found a type mismatch with
sunxi_init_clocks. The function takes a single struct device_node
parameter.

Signed-off-by: Rob Herring <[email protected]>
Acked-by: Mike Turquette <[email protected]>
Cc: "Emilio López" <[email protected]>
Cc: Maxime Ripard <[email protected]>
  • Loading branch information
robherring committed May 20, 2014
1 parent cb7d5f4 commit 8322192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/sunxi/clk-sunxi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1309,7 +1309,7 @@ static void __init sunxi_clock_protect(void)
}
}

static void __init sunxi_init_clocks(void)
static void __init sunxi_init_clocks(struct device_node *np)
{
/* Register factor clocks */
of_sunxi_table_clock_setup(clk_factors_match, sunxi_factors_clk_setup);
Expand Down

0 comments on commit 8322192

Please sign in to comment.