Skip to content
Snippets Groups Projects
Commit 2f39ab16 authored by Pedro Jardim's avatar Pedro Jardim Committed by Lukasz Majewski
Browse files

clock_imx8mq: Make frac_pll_init() static


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: default avatarPedro Jardim <jardim.c.pedro@gmail.com>
parent 852cd55e
No related branches found
No related tags found
No related merge requests found
...@@ -636,7 +636,7 @@ void dram_pll_init(ulong pll_val) ...@@ -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; void __iomem *pll_cfg0, __iomem *pll_cfg1;
u32 val_cfg0, val_cfg1; u32 val_cfg0, val_cfg1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment