[PATCH 1/3] imx8m: clock_imx8mm: Staticize functions

sbabic at denx.de sbabic at denx.de
Mon Jan 20 21:18:50 CET 2020


> Functions fracpll_configure(), decode_intpll(), decode_fracpll(),
> get_root_src_clk() and get_root_clk() are used only in the scope of this
> file, so make them static to fix the following sparse warnings:
> arch/arm/mach-imx/imx8m/clock_imx8mm.c:50:5: warning: no previous
> prototype for ‘fracpll_configure’ [-Wmissing-prototypes]
> arch/arm/mach-imx/imx8m/clock_imx8mm.c:271:5: warning: no previous
> prototype for ‘decode_intpll’ [-Wmissing-prototypes]
> arch/arm/mach-imx/imx8m/clock_imx8mm.c:418:5: warning: no previous
> prototype for ‘decode_fracpll’ [-Wmissing-prototypes]
> arch/arm/mach-imx/imx8m/clock_imx8mm.c:483:5: warning: no previous
> prototype for ‘get_root_src_clk’ [-Wmissing-prototypes]
> arch/arm/mach-imx/imx8m/clock_imx8mm.c:527:5: warning: no previous
> prototype for ‘get_root_clk’ [-Wmissing-prototypes]
> Signed-off-by: Alifer Moraes <alifer.wsdm at gmail.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list