diff options
author | Paul Burton <paul.burton@imgtec.com> | 2014-04-04 12:23:24 +0100 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-04-18 10:42:30 -0400 |
commit | c4474fc88047ac91292930ae906585934df59015 (patch) | |
tree | fe0528ad0041c9ff6d40ffa65c7b290f0787f533 /common/board_r.c | |
parent | 36bf57b6fb37089510b6dcfa6487dc5e2445c9f2 (diff) | |
download | u-boot-imx-c4474fc88047ac91292930ae906585934df59015.zip u-boot-imx-c4474fc88047ac91292930ae906585934df59015.tar.gz u-boot-imx-c4474fc88047ac91292930ae906585934df59015.tar.bz2 |
board_r: return 0 from show_model_r
The show_model_r function should return an int but didn't. Return 0 to
indicate inevitable success and avoid the following if it is used:
common/board_r.c: In function 'show_model_r':
common/board_r.c:531:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/board_r.c')
-rw-r--r-- | common/board_r.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/board_r.c b/common/board_r.c index 8629a65..d1f0aa9 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -528,6 +528,7 @@ static int show_model_r(void) # else checkboard(); # endif + return 0; } #endif |