summaryrefslogtreecommitdiff
path: root/arch/m68k/coldfire/m523x.c
diff options
context:
space:
mode:
authorWang Jingjin <wangjingjin1@huawei.com>2022-06-10 05:07:55 +0300
committerGreg Ungerer <gerg@linux-m68k.org>2022-07-25 02:01:09 +0300
commit90ebf501262da7a05ebe18042907dbe57f616825 (patch)
tree1e7e414e73331a2c60708c2f2c2f7370efa0a344 /arch/m68k/coldfire/m523x.c
parent3c2bf173501652fced1d058834e9c983d295b126 (diff)
downloadlinux-90ebf501262da7a05ebe18042907dbe57f616825.tar.xz
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 <hulkci@huawei.com> Signed-off-by: Wang Jingjin <wangjingjin1@huawei.com> Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
Diffstat (limited to 'arch/m68k/coldfire/m523x.c')
-rw-r--r--arch/m68k/coldfire/m523x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/coldfire/m523x.c b/arch/m68k/coldfire/m523x.c
index 193c178162c1..83a997313393 100644
--- a/arch/m68k/coldfire/m523x.c
+++ b/arch/m68k/coldfire/m523x.c
@@ -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),