]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: ram: stm32: fix compilation issue
authorPatrice Chotard <patrice.chotard@st.com>
Tue, 30 May 2017 13:06:31 +0000 (15:06 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 5 Jun 2017 18:13:13 +0000 (14:13 -0400)
commit14a50e37360231a096b4f39be8d64800aecd830c
treed127baa90009c248c6a48844c07dd4939a01613f
parent439edf612047f343737a449e072898b8c6a0b515
drivers: ram: stm32: fix compilation issue

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@st.com>
cc: Vikas Manocha <vikas.manocha@st.com>
drivers/ram/stm32_sdram.c