Skip to content

Commit

Permalink
m68k: coldfire: make symbol m523x_clk_lookup static
Browse files Browse the repository at this point in the history
Fix sparse warnings:

arch/m68k/coldfire/m523x.c:31:19: sparse: sparse: symbol 'm523x_clk_lookup' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Jingjin <wangjingjin1@huawei.com>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
  • Loading branch information
Wang Jingjin authored and Greg Ungerer committed Jul 24, 2022
1 parent 3c2bf17 commit 90ebf50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/m68k/coldfire/m523x.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
DEFINE_CLK(pll, "pll.0", MCF_CLK);
DEFINE_CLK(sys, "sys.0", MCF_BUSCLK);

struct clk_lookup m523x_clk_lookup[] = {
static struct clk_lookup m523x_clk_lookup[] = {
CLKDEV_INIT(NULL, "pll.0", &clk_pll),
CLKDEV_INIT(NULL, "sys.0", &clk_sys),
CLKDEV_INIT("mcfpit.0", NULL, &clk_pll),
Expand Down

0 comments on commit 90ebf50

Please sign in to comment.