mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
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:
@@ -44,10 +44,10 @@ int bedbug_puts (const char *str)
|
|||||||
* settings.
|
* settings.
|
||||||
* ====================================================================== */
|
* ====================================================================== */
|
||||||
|
|
||||||
void bedbug_init (void)
|
int bedbug_init(void)
|
||||||
{
|
{
|
||||||
/* -------------------------------------------------- */
|
/* -------------------------------------------------- */
|
||||||
return;
|
return 0;
|
||||||
} /* bedbug_init */
|
} /* bedbug_init */
|
||||||
|
|
||||||
|
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/* Supporting routines */
|
/* Supporting routines */
|
||||||
int bedbug_puts (const char *);
|
int bedbug_puts (const char *);
|
||||||
void bedbug_init (void);
|
int bedbug_init(void);
|
||||||
void bedbug860_init (void);
|
void bedbug860_init (void);
|
||||||
void do_bedbug_breakpoint (struct pt_regs *);
|
void do_bedbug_breakpoint (struct pt_regs *);
|
||||||
void bedbug_main_loop (unsigned long, struct pt_regs *);
|
void bedbug_main_loop (unsigned long, struct pt_regs *);
|
||||||
|
Reference in New Issue
Block a user