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

Ian Campbell ijc at hellion.org.uk
Thu Jul 24 10:29:57 CEST 2014


I happened to spot this while working in the area.

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

diff --git a/common/board_r.c b/common/board_r.c
index 4479acb..acc5caa 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