From: sbabic at denx.de Date: Mon, 20 Jan 2020 21:18:50 +0100 (CET) Subject: [PATCH 1/3] imx8m: clock_imx8mm: Staticize functions In-Reply-To: <20200114185501.4993-1-alifer.wsdm@gmail.com> Message-ID: <20200120201850.38EF881AFA@phobos.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de > 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 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 =====================================================================