[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200915140141.42876-1-yuehaibing@huawei.com>
Date: Tue, 15 Sep 2020 22:01:41 +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 -next] clk: imx35: Make mx35_clocks_init static
Fix sparse warning:
drivers/clk/imx/clk-imx35.c:251:12: warning:
symbol 'mx35_clocks_init' was not declared. Should it be static?
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
drivers/clk/imx/clk-imx35.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/imx/clk-imx35.c b/drivers/clk/imx/clk-imx35.c
index e595f559907f..2594f41d0980 100644
--- a/drivers/clk/imx/clk-imx35.c
+++ b/drivers/clk/imx/clk-imx35.c
@@ -248,7 +248,7 @@ static void __init _mx35_clocks_init(void)
imx_print_silicon_rev("i.MX35", mx35_revision());
}
-int __init mx35_clocks_init(void)
+static int __init mx35_clocks_init(void)
{
_mx35_clocks_init();
--
2.17.1
Powered by blists - more mailing lists