Skip to contentSkip to conversation

clk: i.MX1: make locally used function static

PATCH New Sascha Hauer 1 participant 1 message Feb 18, 2020

Subsystems (3)
lore
Share & tools
lore

Sascha Hauer

author maintainer
#0 lore raw

PATCH 1/1 clk: i.MX1: make locally used function static

mx1_clocks_init() is only used in one file, make it static.

---
 drivers/clk/imx/clk-imx1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/imx/clk-imx1.c +1 -1
index 5f600a9da3..9a817c36c0 100644
@@ -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);
Signature · 7 lines
2.25.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox