Skip to content

Commit

Permalink
OMAP: UART: fix the return type of check_modem_status
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shubhrajyoti D authored and Greg Kroah-Hartman committed Nov 27, 2011
1 parent dd7c7c3 commit 514f31d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/serial/omap-serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 514f31d

Please sign in to comment.