fix coreboot compilation without serial console enabled.
[coreboot.git] / src / arch / x86 / boot / coreboot_table.c
index 49cdb29356fa91efe1fd9f2e9f98f93b002ae807..8e7c75eaa12d111d819edec7058c5cfdaf3b9957 100644 (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
 }