From: Jisheng Zhang Date: Thu, 7 Nov 2013 08:59:33 +0000 (+0800) Subject: clk: mvebu: staticize of_cpu_clk_setup X-Git-Tag: v3.14-rc1~109^2~36^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3ca08509ac49c12c48d694e3ac849642fa7b0d4f;p=profile%2Fivi%2Fkernel-x86-ivi.git clk: mvebu: staticize of_cpu_clk_setup This symbol is used only in this file. The patch fix the following sparse warning: warning: symbol 'of_cpu_clk_setup' was not declared. Should it be static? Signed-off-by: Jisheng Zhang Acked-by: Jason Cooper Acked-by: Gregory CLEMENT Signed-off-by: Jason Cooper --- diff --git a/drivers/clk/mvebu/clk-cpu.c b/drivers/clk/mvebu/clk-cpu.c index 1466865..8ebf757 100644 --- a/drivers/clk/mvebu/clk-cpu.c +++ b/drivers/clk/mvebu/clk-cpu.c @@ -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);