Skip to content

Commit 90ebf50

Browse files
Wang JingjinGreg Ungerer
authored andcommitted
m68k: coldfire: make symbol m523x_clk_lookup static
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 <[email protected]> Signed-off-by: Wang Jingjin <[email protected]> Signed-off-by: Greg Ungerer <[email protected]>
1 parent 3c2bf17 commit 90ebf50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/m68k/coldfire/m523x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
DEFINE_CLK(pll, "pll.0", MCF_CLK);
2929
DEFINE_CLK(sys, "sys.0", MCF_BUSCLK);
3030

31-
struct clk_lookup m523x_clk_lookup[] = {
31+
static struct clk_lookup m523x_clk_lookup[] = {
3232
CLKDEV_INIT(NULL, "pll.0", &clk_pll),
3333
CLKDEV_INIT(NULL, "sys.0", &clk_sys),
3434
CLKDEV_INIT("mcfpit.0", NULL, &clk_pll),

0 commit comments

Comments
 (0)