diff options
author | Masahiro Yamada | 2017-06-22 16:42:04 +0900 |
---|---|---|
committer | Masahiro Yamada | 2017-06-25 06:06:09 +0900 |
commit | 1d21e1b97c39d7a6e40a22d3a4153231cf4296af (patch) | |
tree | b8d34671f07132e3c01da799977ff52973744584 /drivers/clk/uniphier | |
parent | 431c66a3bad13e13c1d44ef4ec3638f95e72e11d (diff) |
ARM: uniphier: fix various sparse warnings
Fix warnings reported by sparse:
- ... was not declared. Should it be static?"
- cast to restricted __be32
While fixing those, the type conflict of cci500_init() was found.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'drivers/clk/uniphier')
-rw-r--r-- | drivers/clk/uniphier/clk-uniphier-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/uniphier/clk-uniphier-core.c b/drivers/clk/uniphier/clk-uniphier-core.c index d88bd62812d..0fb48541b9b 100644 --- a/drivers/clk/uniphier/clk-uniphier-core.c +++ b/drivers/clk/uniphier/clk-uniphier-core.c @@ -121,7 +121,7 @@ static ulong uniphier_clk_set_rate(struct clk *clk, ulong rate) return best_rate; } -const struct clk_ops uniphier_clk_ops = { +static const struct clk_ops uniphier_clk_ops = { .enable = uniphier_clk_enable, .get_rate = uniphier_clk_get_rate, .set_rate = uniphier_clk_set_rate, |