[PATCH 3/3] ARM i.MX28: Add missing return value in non-void function

Sascha Hauer s.hauer at pengutronix.de
Fri Feb 15 13:48:21 EST 2013


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/mach-mxs/soc-imx28.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/mach-mxs/soc-imx28.c b/arch/arm/mach-mxs/soc-imx28.c
index a5f3d68..8972a3d 100644
--- a/arch/arm/mach-mxs/soc-imx28.c
+++ b/arch/arm/mach-mxs/soc-imx28.c
@@ -45,5 +45,7 @@ static int imx28_init(void)
 	 * of resetting it. Use a software reset only.
 	 */
 	writel(HW_CLKCTRL_WDOG_POR_DISABLE, IMX_CCM_BASE + HW_CLKCTRL_RESET);
+
+	return 0;
 }
 postcore_initcall(imx28_init);
-- 
1.7.10.4




More information about the barebox mailing list