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: Ben Dooks <ben.dooks@codethink.co.uk> Acked-by: Andy Gross <andy.gross@linaro.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Reviewed-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
30acf549ca
commit
9a3f5bf275
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue