OSDN Git Service

clk: mvebu: Staticize of_cpu_clk_setup
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 8 Oct 2013 11:17:45 +0000 (16:47 +0530)
committerMike Turquette <mturquette@linaro.org>
Fri, 20 Dec 2013 01:47:32 +0000 (17:47 -0800)
'of_cpu_clk_setup' is used only in this file. Make it static.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/mvebu/clk-cpu.c

index 1466865..8ebf757 100644 (file)
@@ -101,7 +101,7 @@ static const struct clk_ops cpu_ops = {
        .set_rate = clk_cpu_set_rate,
 };
 
-void __init of_cpu_clk_setup(struct device_node *node)
+static void __init of_cpu_clk_setup(struct device_node *node)
 {
        struct cpu_clk *cpuclk;
        void __iomem *clock_complex_base = of_iomap(node, 0);