[PATCH v2 2/3] serial: 8250_dma: Export serial8250_rx_dma_flush()

From: Chuah Kim Tatt
Date: Wed Jun 15 2016 - 01:46:24 EST


From: "Chuah, Kim Tatt" <kim.tatt.chuah@xxxxxxxxx>

Export serial8250_rx_dma_flush() for use by SOC UART drivers.

Signed-off-by: Chuah, Kim Tatt <kim.tatt.chuah@xxxxxxxxx>
---
drivers/tty/serial/8250/8250_dma.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/tty/serial/8250/8250_dma.c b/drivers/tty/serial/8250/8250_dma.c
index 7f33d1c..3590d01 100644
--- a/drivers/tty/serial/8250/8250_dma.c
+++ b/drivers/tty/serial/8250/8250_dma.c
@@ -145,6 +145,7 @@ void serial8250_rx_dma_flush(struct uart_8250_port *p)
dmaengine_terminate_all(dma->rxchan);
}
}
+EXPORT_SYMBOL_GPL(serial8250_rx_dma_flush);

int serial8250_request_dma(struct uart_8250_port *p)
{
--
1.9.1