[U-Boot] [PATCH] board_r: Add missing return to initr_doc

Ian Campbell ijc at hellion.org.uk
Mon Jul 21 20:21:10 CEST 2014


I happened to spot this while working in the area.

Signed-off-by: Ian Campbell <ijc at hellion.org.uk>
Cc: Simon Glass <sjg at chromium.org>
---
 common/board_r.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/board_r.c b/common/board_r.c
index 4479acb..427ee67 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -600,6 +600,7 @@ static int initr_doc(void)
 {
 	puts("DOC:   ");
 	doc_init();
+	return 0
 }
 #endif
 
-- 
2.0.1



More information about the U-Boot mailing list