diff options
author | Jisheng Zhang <jszhang@marvell.com> | 2013-11-07 03:59:33 -0500 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-11-23 22:21:36 -0500 |
commit | 3ca08509ac49c12c48d694e3ac849642fa7b0d4f (patch) | |
tree | 253138546fdb2e0a7e42d86420efbc2e62fbfde3 | |
parent | 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff) |
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 <jszhang@marvell.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
-rw-r--r-- | drivers/clk/mvebu/clk-cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/mvebu/clk-cpu.c b/drivers/clk/mvebu/clk-cpu.c index 1466865b0743..8ebf757d29e2 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 = { | |||
101 | .set_rate = clk_cpu_set_rate, | 101 | .set_rate = clk_cpu_set_rate, |
102 | }; | 102 | }; |
103 | 103 | ||
104 | void __init of_cpu_clk_setup(struct device_node *node) | 104 | static void __init of_cpu_clk_setup(struct device_node *node) |
105 | { | 105 | { |
106 | struct cpu_clk *cpuclk; | 106 | struct cpu_clk *cpuclk; |
107 | void __iomem *clock_complex_base = of_iomap(node, 0); | 107 | void __iomem *clock_complex_base = of_iomap(node, 0); |