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

Peng Fan b51431 at freescale.com
Mon Nov 30 02:46:23 CET 2015


Hi Jeroen,
On Sun, Nov 29, 2015 at 06:30:34PM +0100, Jeroen Hofstee wrote:
>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;

I CCed i.MX branch maintainer for you.

Reviewed-by: Peng Fan <Peng.Fan at freescale.com>

Regards,
Peng.

> }
> #endif
> 
>-- 
>1.9.1
>

-- 


More information about the U-Boot mailing list