clock_imx8mq: Make frac_pll_init() static
authorPedro Jardim <jardim.c.pedro@gmail.com>
Thu, 23 Jan 2020 13:21:53 +0000 (10:21 -0300)
committerLukasz Majewski <lukma@denx.de>
Sun, 26 Jan 2020 20:57:09 +0000 (21:57 +0100)
Since frac_pll_init() is only used in this file, change it to 'static'.

This fixes the following sparse warning:

arch/arm/mach-imx/imx8m/clock_imx8mq.c:662:5: warning: no previous
prototype for ‘frac_pll_init’ [-Wmissing-prototypes]

Signed-off-by: Pedro Jardim <jardim.c.pedro@gmail.com>
arch/arm/mach-imx/imx8m/clock_imx8mq.c

index 72a70d8c456cf7f57c004a5d252f74d51f7ec74a..aad9cf13ef230443be61a2096278ac52cdf6e9f7 100644 (file)
@@ -636,7 +636,7 @@ void dram_pll_init(ulong pll_val)
                ;
 }
 
-int frac_pll_init(u32 pll, enum frac_pll_out_val val)
+static int frac_pll_init(u32 pll, enum frac_pll_out_val val)
 {
        void __iomem *pll_cfg0, __iomem *pll_cfg1;
        u32 val_cfg0, val_cfg1;