[PATCH] clk: i.MX1: make locally used function static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux