From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sun, 19 Aug 2012 01:43:35 +0200 Subject: [U-Boot] [PATCH 2/2] mxs: Use correct function name to initialize dram In-Reply-To: <1345332492-3273-2-git-send-email-festevam@gmail.com> References: <1345332492-3273-1-git-send-email-festevam@gmail.com> <1345332492-3273-2-git-send-email-festevam@gmail.com> Message-ID: <201208190143.35725.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Fabio Estevam, > From: Fabio Estevam > > commit d92591a (mxs: Convert sys_proto.h prefixes to 'mxs') introduced > a mxs_dram_init() function, which is not used anywhere. > > Fix it, so that the following warning goes away: > > mx28evk.c: In function ?dram_init?: > mx28evk.c:67:2: warning: implicit declaration of function ?mx28_dram_init? > [-Wimplicit-function-declaration] > > Signed-off-by: Fabio Estevam > --- > arch/arm/include/asm/arch-mxs/sys_proto.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/include/asm/arch-mxs/sys_proto.h > b/arch/arm/include/asm/arch-mxs/sys_proto.h index 9d1e599..4610363 100644 > --- a/arch/arm/include/asm/arch-mxs/sys_proto.h > +++ b/arch/arm/include/asm/arch-mxs/sys_proto.h > @@ -69,6 +69,6 @@ struct mxs_spl_data { > uint32_t mem_dram_size; > }; > > -int mxs_dram_init(void); > +int mx28_dram_init(void); > > #endif /* __SYS_PROTO_H__ */ Acked-by: Marek Vasut Best regards, Marek Vasut