diff mbox

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

Message ID 1406190597-26001-1-git-send-email-ijc@hellion.org.uk
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Ian Campbell July 24, 2014, 8:29 a.m. UTC
I happened to spot this while working in the area.

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

Comments

Tom Rini Aug. 10, 2014, 10:22 p.m. UTC | #1
On Thu, Jul 24, 2014 at 09:29:57AM +0100, Ian Campbell wrote:

> I happened to spot this while working in the area.
> 
> Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
> Acked-by: Simon Glass <sjg@chromium.org>
> Cc: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!
diff mbox

Patch

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