Skip to content
Snippets Groups Projects
Commit e64901c0 authored by Stefan Roese's avatar Stefan Roese Committed by Wolfgang Denk
Browse files

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: default avatarStefan Roese <sr@denx.de>
parent 60f7da1f
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment