board_r: return 0 from show_model_r
authorPaul Burton <paul.burton@imgtec.com>
Fri, 4 Apr 2014 11:23:24 +0000 (12:23 +0100)
committerTom Rini <trini@ti.com>
Fri, 18 Apr 2014 14:42:30 +0000 (10:42 -0400)
commitc4474fc88047ac91292930ae906585934df59015
treefe0528ad0041c9ff6d40ffa65c7b290f0787f533
parent36bf57b6fb37089510b6dcfa6487dc5e2445c9f2
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>
common/board_r.c