clk: hix5hd2: Silence sparse warnings
authorStephen Boyd <sboyd@codeaurora.org>
Fri, 1 May 2015 19:25:53 +0000 (12:25 -0700)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 15 May 2015 00:11:21 +0000 (17:11 -0700)
drivers/clk/hisilicon/clk-hix5hd2.c:255:13: warning: symbol 'hix5hd2_clk_register_complex' was not declared. Should it be static?

Acked-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/hisilicon/clk-hix5hd2.c

index f1d239435826ca6e7a873d08c9dcaa0c8590e630..78bd95b6fc7b3ca012e10d4d5dfe444ee3707a99 100644 (file)
@@ -252,8 +252,9 @@ static struct clk_ops clk_complex_ops = {
        .disable = clk_complex_disable,
 };
 
-void __init hix5hd2_clk_register_complex(struct hix5hd2_complex_clock *clks,
-                                        int nums, struct hisi_clock_data *data)
+static void __init
+hix5hd2_clk_register_complex(struct hix5hd2_complex_clock *clks, int nums,
+                            struct hisi_clock_data *data)
 {
        void __iomem *base = data->base;
        int i;