mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-26 04:16:39 +00:00
tty: ami: use u8 for characters and flag
Switch character types to u8. To conform to characters in the rest of the tty layer. Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/r/20231206073712.17776-7-jirislaby@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4e8d887814
commit
fbdeead959
1 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ struct serial_state {
|
|||
int quot;
|
||||
int IER; /* Interrupt Enable Register */
|
||||
int MCR; /* Modem control register */
|
||||
int x_char; /* xon/xoff character */
|
||||
u8 x_char; /* xon/xoff character */
|
||||
};
|
||||
|
||||
static struct tty_driver *serial_driver;
|
||||
|
@ -178,7 +178,7 @@ static void receive_chars(struct serial_state *info)
|
|||
{
|
||||
int status;
|
||||
int serdatr;
|
||||
unsigned char ch, flag;
|
||||
u8 ch, flag;
|
||||
struct async_icount *icount;
|
||||
bool overrun = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue