clk: sunxi: fix function type for CLK_OF_DECLARE
authorRob Herring <robh@kernel.org>
Mon, 12 May 2014 16:32:28 +0000 (11:32 -0500)
committerRob Herring <robh@kernel.org>
Tue, 20 May 2014 19:25:22 +0000 (14:25 -0500)
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 <robh@kernel.org>
Acked-by: Mike Turquette <mturquette@linaro.org>
Cc: "Emilio López" <emilio@elopez.com.ar>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi/clk-sunxi.c

index ef5e2d8..9eddf22 100644 (file)
@@ -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);