From: Rob Herring Date: Mon, 12 May 2014 16:32:28 +0000 (-0500) Subject: clk: sunxi: fix function type for CLK_OF_DECLARE X-Git-Tag: v4.14-rc1~7403^2~21^2~2^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=83221923fc09c5ad3f1afbfb5d227a7ff1638b29;p=platform%2Fkernel%2Flinux-rpi.git clk: sunxi: fix function type for CLK_OF_DECLARE 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 Acked-by: Mike Turquette Cc: "Emilio López" Cc: Maxime Ripard --- diff --git a/drivers/clk/sunxi/clk-sunxi.c b/drivers/clk/sunxi/clk-sunxi.c index ef5e2d8..9eddf22 100644 --- a/drivers/clk/sunxi/clk-sunxi.c +++ b/drivers/clk/sunxi/clk-sunxi.c @@ -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);