diff options
Diffstat (limited to 'include/linux/serial_core.h')
| -rw-r--r-- | include/linux/serial_core.h | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index b4c9fda9d833..06ea4eeb09ab 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h @@ -233,6 +233,7 @@ struct uart_port {  #define UPSTAT_AUTORTS		((__force upstat_t) (1 << 2))  #define UPSTAT_AUTOCTS		((__force upstat_t) (1 << 3))  #define UPSTAT_AUTOXOFF		((__force upstat_t) (1 << 4)) +#define UPSTAT_SYNC_FIFO	((__force upstat_t) (1 << 5))  	int			hw_stopped;		/* sw-assisted CTS flow state */  	unsigned int		mctrl;			/* current modem ctrl settings */ @@ -348,7 +349,8 @@ struct earlycon_device {  };  struct earlycon_id { -	char	name[16]; +	char	name[15]; +	char	name_term;	/* In case compiler didn't '\0' term name */  	char	compatible[128];  	int	(*setup)(struct earlycon_device *, const char *options);  };  | 
