提交 514f31d1 编写于 作者: S Shubhrajyoti D 提交者: 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: NShubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册