serial:fix a compile bug
serial_io.c use pid,but the headfile Inconsistent macro definitions Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
parent
ae1cbc47ef
commit
0b3fd3b0b5
@ -278,7 +278,8 @@ struct uart_dev_s
|
||||
#endif
|
||||
bool isconsole; /* true: This is the serial console */
|
||||
|
||||
#if defined(CONFIG_TTY_SIGINT) || defined(CONFIG_TTY_SIGTSTP)
|
||||
#if defined(CONFIG_TTY_SIGINT) || defined(CONFIG_TTY_SIGTSTP) || \
|
||||
defined(CONFIG_TTY_FORCE_PANIC) || defined(CONFIG_TTY_LAUNCH)
|
||||
pid_t pid; /* Thread PID to receive signals (-1 if none) */
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user