* [PATCH] tty: serial: msm: fix definition of msm_stop_dma
@ 2016-06-07 18:11 Ben Dooks
2016-06-07 20:00 ` Bjorn Andersson
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Ben Dooks @ 2016-06-07 18:11 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
Cc: Andy Gross <andy.gross@linaro.org>
Cc: David Brown <david.brown@linaro.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.com>
Cc: linux-arm-msm at vger.kernel.org
Cc: linux-soc at vger.kernel.org
Cc: linux-serial at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
---
drivers/tty/serial/msm_serial.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c
index b7d80bd..187f2c0 100644
--- a/drivers/tty/serial/msm_serial.c
+++ b/drivers/tty/serial/msm_serial.c
@@ -81,7 +81,7 @@ struct msm_port {
static void msm_handle_tx(struct uart_port *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;
unsigned int mapped;
--
2.8.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] tty: serial: msm: fix definition of msm_stop_dma
2016-06-07 18:11 [PATCH] tty: serial: msm: fix definition of msm_stop_dma Ben Dooks
@ 2016-06-07 20:00 ` Bjorn Andersson
2016-06-07 23:07 ` Stephen Boyd
2016-06-09 19:21 ` Andy Gross
2 siblings, 0 replies; 4+ messages in thread
From: Bjorn Andersson @ 2016-06-07 20:00 UTC (permalink / raw)
To: linux-arm-kernel
On Tue 07 Jun 11:11 PDT 2016, Ben Dooks wrote:
> 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>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Regards,
Bjorn
> ---
> Cc: Andy Gross <andy.gross@linaro.org>
> Cc: David Brown <david.brown@linaro.org>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Cc: Jiri Slaby <jslaby@suse.com>
> Cc: linux-arm-msm at vger.kernel.org
> Cc: linux-soc at vger.kernel.org
> Cc: linux-serial at vger.kernel.org
> Cc: linux-arm-kernel at lists.infradead.org
> ---
> drivers/tty/serial/msm_serial.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c
> index b7d80bd..187f2c0 100644
> --- a/drivers/tty/serial/msm_serial.c
> +++ b/drivers/tty/serial/msm_serial.c
> @@ -81,7 +81,7 @@ struct msm_port {
> static void msm_handle_tx(struct uart_port *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;
> unsigned int mapped;
> --
> 2.8.1
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] tty: serial: msm: fix definition of msm_stop_dma
2016-06-07 18:11 [PATCH] tty: serial: msm: fix definition of msm_stop_dma Ben Dooks
2016-06-07 20:00 ` Bjorn Andersson
@ 2016-06-07 23:07 ` Stephen Boyd
2016-06-09 19:21 ` Andy Gross
2 siblings, 0 replies; 4+ messages in thread
From: Stephen Boyd @ 2016-06-07 23:07 UTC (permalink / raw)
To: linux-arm-kernel
On 06/07, Ben Dooks wrote:
> 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>
> ---
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] tty: serial: msm: fix definition of msm_stop_dma
2016-06-07 18:11 [PATCH] tty: serial: msm: fix definition of msm_stop_dma Ben Dooks
2016-06-07 20:00 ` Bjorn Andersson
2016-06-07 23:07 ` Stephen Boyd
@ 2016-06-09 19:21 ` Andy Gross
2 siblings, 0 replies; 4+ messages in thread
From: Andy Gross @ 2016-06-09 19:21 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Jun 07, 2016 at 07:11:52PM +0100, Ben Dooks wrote:
> 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>
Good find.
Acked-by: Andy Gross <andy.gross@linaro.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-06-09 19:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-07 18:11 [PATCH] tty: serial: msm: fix definition of msm_stop_dma Ben Dooks
2016-06-07 20:00 ` Bjorn Andersson
2016-06-07 23:07 ` Stephen Boyd
2016-06-09 19:21 ` Andy Gross
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).