]> git.sur5r.net Git - u-boot/commit
bedbug_860.c, bedbug_603e.c: Fix return type to silence compile warnings.
authorWolfgang Denk <wd@denx.de>
Wed, 18 Aug 2010 22:27:33 +0000 (00:27 +0200)
committerWolfgang Denk <wd@denx.de>
Wed, 8 Sep 2010 20:02:54 +0000 (22:02 +0200)
commit40e74c852b76accfe27d832f23ea3020352bc120
tree201c98a2afdd6a90332f139cab48bd40dbc0f5e4
parent2df0e6fc6b71448e1752e4ce1d5577d8977f3e5e
bedbug_860.c, bedbug_603e.c: Fix return type to silence compile warnings.

commit 47e26b1b "cmd_usage(): simplify return code handling" caused
the following compile warnings:

bedbug_860.c: In function 'bedbug860_do_break':
bedbug_860.c:73: warning: 'return' with a value, in function returning void
bedbug_860.c:121: warning: 'return' with a value, in function returning void

Fix the return type.

Actually these files could need some cleanup - commands should
return proper error codes, and there are coding style issues.
=> To be fixed later.

Signed-off-by: Wolfgang Denk <wd@denx.de>
arch/powerpc/cpu/mpc8260/bedbug_603e.c
arch/powerpc/cpu/mpc8xx/bedbug_860.c