[linux-yocto] [PATCH 83/87] LSI acp34xx: Fixed build error in acp34xx serial driver

Paul Butler butler.paul at gmail.com
Mon May 27 09:56:54 PDT 2013


From: David Mercado <david.mercado at windriver.com>

Removed new section of CONFIG_CONSOLE_POLL code that broke the
driver build.

Signed-off-by: David Mercado <david.mercado at windriver.com>
---
 drivers/tty/serial/lsi_acp_serial.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/tty/serial/lsi_acp_serial.c b/drivers/tty/serial/lsi_acp_serial.c
index 96adf00..49ffd30 100644
--- a/drivers/tty/serial/lsi_acp_serial.c
+++ b/drivers/tty/serial/lsi_acp_serial.c
@@ -333,10 +333,6 @@ acp_serial_rx_chars(struct uart_acp_port *uap)
 				flag = TTY_FRAME;
 		}
 
-#ifdef CONFIG_CONSOLE_POLL
-		if (uap->port.poll_rx_cb && uap->port.poll_rx_cb(ch))
-			goto ignore_char;
-#endif
 		if (uart_handle_sysrq_char(&uap->port, ch & 255))
 			goto ignore_char;
 
-- 
1.8.3




More information about the linux-yocto mailing list