From 514f31d19ed6d001cac37af0b4a3f61b07969d59 Mon Sep 17 00:00:00 2001 From: Shubhrajyoti D Date: Mon, 21 Nov 2011 15:43:28 +0530 Subject: [PATCH] OMAP: UART: fix the return type of check_modem_status The function check_modem_status returns an int currently it is stored in a char. Signed-off-by: Shubhrajyoti D Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/omap-serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index 5e713d3..f2a1380 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c @@ -399,7 +399,7 @@ static unsigned int serial_omap_tx_empty(struct uart_port *port) static unsigned int serial_omap_get_mctrl(struct uart_port *port) { struct uart_omap_port *up = (struct uart_omap_port *)port; - unsigned char status; + unsigned int status; unsigned int ret = 0; status = check_modem_status(up); -- 2.7.4