[U-Boot] [PATCH] imx: mx6: add missing return value

Jeroen Hofstee jeroen at myspectrum.nl
Sun Nov 29 18:30:34 CET 2015


cc: Peng Fan <Peng.Fan at freescale.com>
Signed-off-by: Jeroen Hofstee <jeroen at myspectrum.nl>
---
not tested ;)

 arch/arm/cpu/armv7/mx6/clock.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/cpu/armv7/mx6/clock.c b/arch/arm/cpu/armv7/mx6/clock.c
index 67e0f32..4f6fe86 100644
--- a/arch/arm/cpu/armv7/mx6/clock.c
+++ b/arch/arm/cpu/armv7/mx6/clock.c
@@ -715,6 +715,8 @@ int enable_lcdif_clock(u32 base_addr)
 	reg = readl(&imx_ccm->CCGR2);
 	reg |= MXC_CCM_CCGR2_LCD_MASK;
 	writel(reg, &imx_ccm->CCGR2);
+
+	return 0;
 }
 #endif
 
-- 
1.9.1



More information about the U-Boot mailing list