lkml.org 
[lkml]   [2020]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 3/3] clk: imx31: Make mx31_clocks_init static
Date
Fix sparse warning:

drivers/clk/imx/clk-imx31.c:135:12: warning:
symbol 'mx31_clocks_init' was not declared. Should it be static?

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
drivers/clk/imx/clk-imx31.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/imx/clk-imx31.c b/drivers/clk/imx/clk-imx31.c
index 4bb05e440cdd..c709fe3eec57 100644
--- a/drivers/clk/imx/clk-imx31.c
+++ b/drivers/clk/imx/clk-imx31.c
@@ -132,7 +132,7 @@ static void __init _mx31_clocks_init(void __iomem *base, unsigned long fref)
clk_disable_unprepare(clk[iim_gate]);
}

-int __init mx31_clocks_init(unsigned long fref)
+static int __init mx31_clocks_init(unsigned long fref)
{
void __iomem *base;

--
2.17.1

\
 
 \ /
  Last update: 2020-09-16 02:21    [W:0.055 / U:3.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site