2005-09-27 12:05:47

by Hirokazu Takata

[permalink] [raw]
Subject: [PATCH 2.6.14-rc2-mm1] m32r: buildfix of m32r_sio.c

This patch fixes build errors of -mm kernels, 2.6.14-rc1-mm1 or later.
Please apply.

Thanks,

Signed-off-by: Hirokazu Takata <[email protected]>
---

drivers/serial/m32r_sio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.14-rc2-mm1/drivers/serial/m32r_sio.c
===================================================================
--- linux-2.6.14-rc2-mm1.orig/drivers/serial/m32r_sio.c 2005-09-27 20:53:39.000000000 +0900
+++ linux-2.6.14-rc2-mm1/drivers/serial/m32r_sio.c 2005-09-27 20:53:46.000000000 +0900
@@ -386,7 +386,7 @@ static _INLINE_ void receive_chars(struc
if ((*status & up->port.ignore_status_mask) == 0)
tty_insert_flip_char(tty, ch, flag);

- if (*status & UART_LSR_OE)
+ if (*status & UART_LSR_OE) {
/*
* Overrun is special, since it's reported
* immediately, and doesn't affect the current

--
Hirokazu Takata <[email protected]>
Linux/M32R Project: http://www.linux-m32r.org/