From mboxrd@z Thu Jan 1 00:00:00 1970 From: sbabic at denx.de Date: Mon, 20 Jan 2020 21:18:38 +0100 (CET) Subject: [PATCH 2/3] mx8mm_evk: spl: Staticize functions In-Reply-To: <20200114185501.4993-2-alifer.wsdm@gmail.com> Message-ID: <20200120201838.D0B2F81AED@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 spl_dram_init() and power_init_board() are used only in > the scope of this file, so make them static to fix the following sparse > warnings: > board/freescale/imx8mm_evk/spl.c:40:6: warning: no previous prototype > for ‘spl_dram_init’ [-Wmissing-prototypes] > board/freescale/imx8mm_evk/spl.c:85:5: warning: no previous prototype > for ‘power_init_board’ [-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 =====================================================================