diff options
author | Rob Herring <robh@kernel.org> | 2014-05-12 12:32:28 -0400 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2014-05-20 15:25:22 -0400 |
commit | 83221923fc09c5ad3f1afbfb5d227a7ff1638b29 (patch) | |
tree | 532c63b7a35ec32c65ec5e12c6a2ea2cd720d727 /drivers/clk | |
parent | cb7d5f425fd1c5f2295770c3ee36c950a0b6714b (diff) |
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 <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>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/sunxi/clk-sunxi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/sunxi/clk-sunxi.c b/drivers/clk/sunxi/clk-sunxi.c index ef5e2d8096d8..9eddf22d56a4 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) | |||
1309 | } | 1309 | } |
1310 | } | 1310 | } |
1311 | 1311 | ||
1312 | static void __init sunxi_init_clocks(void) | 1312 | static void __init sunxi_init_clocks(struct device_node *np) |
1313 | { | 1313 | { |
1314 | /* Register factor clocks */ | 1314 | /* Register factor clocks */ |
1315 | of_sunxi_table_clock_setup(clk_factors_match, sunxi_factors_clk_setup); | 1315 | of_sunxi_table_clock_setup(clk_factors_match, sunxi_factors_clk_setup); |