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 <yuehaib...@huawei.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