fix coreboot compilation without serial console enabled.

Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6500 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2011-04-14 21:05:41 +00:00 committed by Stefan Reinauer
parent 23f49a82f9
commit 40e42a824b
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ static struct lb_serial *lb_serial(struct lb_header *header)
serial->baud = CONFIG_TTYS0_BAUD;
return serial;
#else
return header;
return NULL;
#endif
}