[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200915140159.23184-1-yuehaibing@huawei.com>
Date: Tue, 15 Sep 2020 22:01:59 +0800
From: YueHaibing <yuehaibing@...wei.com>
To: <mturquette@...libre.com>, <sboyd@...nel.org>,
<shawnguo@...nel.org>, <s.hauer@...gutronix.de>,
<kernel@...gutronix.de>, <festevam@...il.com>, <linux-imx@....com>,
<yuehaibing@...wei.com>
CC: <linux-clk@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH 3/3] clk: imx31: Make mx31_clocks_init static
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@...wei.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
Powered by blists - more mailing lists