Commit 514f31d1 authored by Shubhrajyoti D's avatar Shubhrajyoti D Committed by Greg Kroah-Hartman

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: default avatarShubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent dd7c7c3f
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment