projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
852cd55
)
clock_imx8mq: Make frac_pll_init() static
author
Pedro Jardim
<jardim.c.pedro@gmail.com>
Thu, 23 Jan 2020 13:21:53 +0000
(10:21 -0300)
committer
Lukasz 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
patch
|
blob
|
history
diff --git
a/arch/arm/mach-imx/imx8m/clock_imx8mq.c
b/arch/arm/mach-imx/imx8m/clock_imx8mq.c
index
72a70d8
..
aad9cf1
100644
(file)
--- a/
arch/arm/mach-imx/imx8m/clock_imx8mq.c
+++ b/
arch/arm/mach-imx/imx8m/clock_imx8mq.c
@@
-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;