From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j44rW-000347-DR for barebox@lists.infradead.org; Tue, 18 Feb 2020 15:32:40 +0000 From: Sascha Hauer Date: Tue, 18 Feb 2020 16:32:35 +0100 Message-Id: <20200218153235.12452-1-s.hauer@pengutronix.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH] clk: i.MX1: make locally used function static To: Barebox List mx1_clocks_init() is only used in one file, make it static. Signed-off-by: Sascha Hauer --- drivers/clk/imx/clk-imx1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx1.c b/drivers/clk/imx/clk-imx1.c index 5f600a9da3..9a817c36c0 100644 --- a/drivers/clk/imx/clk-imx1.c +++ b/drivers/clk/imx/clk-imx1.c @@ -53,7 +53,7 @@ static const char *clko_sel_clks[] = { "fclk", }; -int __init mx1_clocks_init(void __iomem *regs, unsigned long fref) +static int __init mx1_clocks_init(void __iomem *regs, unsigned long fref) { clks[dummy] = clk_fixed("dummy", 0); clks[clk32] = clk_fixed("clk32", fref); -- 2.25.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox