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 <shubhrajyoti@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Родитель
dd7c7c3f69
Коммит
514f31d19e
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче