projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd7c7c3
)
OMAP: UART: fix the return type of check_modem_status
author
Shubhrajyoti D
<shubhrajyoti@ti.com>
Mon, 21 Nov 2011 10:13:28 +0000
(15:43 +0530)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Sun, 27 Nov 2011 04:10:13 +0000
(20:10 -0800)
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>
drivers/tty/serial/omap-serial.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/omap-serial.c
b/drivers/tty/serial/omap-serial.c
index
5e713d3
..
f2a1380
100644
(file)
--- 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);