Commit 9a3f5bf2 authored by Ben Dooks's avatar Ben Dooks Committed by Greg Kroah-Hartman

tty: serial: msm: fix definition of msm_stop_dma

The msm_stop_dma() is not exported from the driver, so make
it static to stop the following warning:

drivers/tty/serial/msm_serial.c:84:6: warning: symbol 'msm_stop_dma' was not declared. Should it be static?
Signed-off-by: default avatarBen Dooks <ben.dooks@codethink.co.uk>
Acked-by: default avatarAndy Gross <andy.gross@linaro.org>
Reviewed-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 30acf549
...@@ -250,7 +250,7 @@ static void msm_serial_set_mnd_regs(struct uart_port *port) ...@@ -250,7 +250,7 @@ static void msm_serial_set_mnd_regs(struct uart_port *port)
static void msm_handle_tx(struct uart_port *port); static void msm_handle_tx(struct uart_port *port);
static void msm_start_rx_dma(struct msm_port *msm_port); static void msm_start_rx_dma(struct msm_port *msm_port);
void msm_stop_dma(struct uart_port *port, struct msm_dma *dma) static void msm_stop_dma(struct uart_port *port, struct msm_dma *dma)
{ {
struct device *dev = port->dev; struct device *dev = port->dev;
unsigned int mapped; unsigned int mapped;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment