diff options
author | Pedro Jardim <jardim.c.pedro@gmail.com> | 2020-01-23 10:21:53 -0300 |
---|---|---|
committer | Lukasz Majewski <lukma@denx.de> | 2020-01-26 21:57:09 +0100 |
commit | 2f39ab1649caddf748ef1eff60c40fede5995ced (patch) | |
tree | e77d2d49298092040c999ad22f04ba29b7000130 /arch | |
parent | 852cd55ea7aef90d9408d7b3b746f3c52e3a1e42 (diff) | |
download | u-boot-2f39ab1649caddf748ef1eff60c40fede5995ced.zip u-boot-2f39ab1649caddf748ef1eff60c40fede5995ced.tar.gz u-boot-2f39ab1649caddf748ef1eff60c40fede5995ced.tar.bz2 |
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: Pedro Jardim <jardim.c.pedro@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/imx8m/clock_imx8mq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/imx8m/clock_imx8mq.c b/arch/arm/mach-imx/imx8m/clock_imx8mq.c index 72a70d8..aad9cf1 100644 --- 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; |