cmd/bedbug.c: Make bedbug_init have a return value

Do this as a preparation for removing initr_bedbug wrapper from
common/board_r.c.

Signed-off-by: Ovidiu Panait <ovpanait@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Ovidiu Panait 2020-04-20 10:31:45 +03:00 committed by Tom Rini
parent 5cf9e3b237
commit 5fb292f20f
2 changed files with 3 additions and 3 deletions

View file

@ -44,10 +44,10 @@ int bedbug_puts (const char *str)
* settings.
* ====================================================================== */
void bedbug_init (void)
int bedbug_init(void)
{
/* -------------------------------------------------- */
return;
return 0;
} /* bedbug_init */

View file

@ -3,7 +3,7 @@
/* Supporting routines */
int bedbug_puts (const char *);
void bedbug_init (void);
int bedbug_init(void);
void bedbug860_init (void);
void do_bedbug_breakpoint (struct pt_regs *);
void bedbug_main_loop (unsigned long, struct pt_regs *);