mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
serial.c: Fix build breakage introduced with commit e3c78c9b
This patch fixes the compilation problem introduced with commit
e3c78c9b
[ppc4xx: Remove now unused CONFIG_UART1_CONSOLE]:
-> ./MAKEALL TB5200
Configuring for TB5200 board...
serial.c: In function '__default_serial_console':
serial.c:94: warning: no return statement in function returning non-void
I accidentally removed an "#else" line. This patch adds it back.
Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
60f7da1f42
commit
e64901c01a
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ struct serial_device *__default_serial_console (void)
|
|||
#else
|
||||
#error "Bad CONFIG_CONS_INDEX."
|
||||
#endif
|
||||
#else
|
||||
return &serial0_device;
|
||||
#endif
|
||||
#elif defined(CONFIG_MPC512X)
|
||||
|
|
Loading…
Add table
Reference in a new issue