summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/sunplus-uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/serial/sunplus-uart.c')
-rw-r--r--drivers/tty/serial/sunplus-uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/sunplus-uart.c b/drivers/tty/serial/sunplus-uart.c
index 727942c43c45..3aacd5eb414c 100644
--- a/drivers/tty/serial/sunplus-uart.c
+++ b/drivers/tty/serial/sunplus-uart.c
@@ -231,7 +231,7 @@ static void transmit_chars(struct uart_port *port)
static void receive_chars(struct uart_port *port)
{
unsigned int lsr = readl(port->membase + SUP_UART_LSR);
- unsigned int ch, flag;
+ u8 ch, flag;
do {
ch = readl(port->membase + SUP_UART_DATA);