[U-Boot] drivers: ram: stm32: fix compilation issue

Tom Rini trini at konsulko.com
Tue Jun 6 00:23:11 UTC 2017


On Tue, May 30, 2017 at 03:06:31PM +0200, Patrice Chotard wrote:

> From: Patrice Chotard <patrice.chotard at st.com>
> 
> If CONFIG_CLK flag is not set, compilation raises the
> following error message:
> 
> drivers/ram/stm32_sdram.c: In function 'stm32_fmc_probe':
> drivers/ram/stm32_sdram.c:154:2: error: 'ret' undeclared (first use in this function)
>   ret = stm32_sdram_init(dev);
> 
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
> cc: Vikas Manocha <vikas.manocha at st.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170605/d0dc3fe2/attachment.sig>


More information about the U-Boot mailing list