* [PATCH] dmaengine: ste_dma40_ll: make d40_width_to_bits static
@ 2016-06-07 15:50 Ben Dooks
2016-06-08 3:30 ` Vinod Koul
0 siblings, 1 reply; 2+ messages in thread
From: Ben Dooks @ 2016-06-07 15:50 UTC (permalink / raw)
To: linux-arm-kernel
Fix warning due to d40_width_to_bits() not being used outside
this file. Fixes:
drivers/dma/ste_dma40_ll.c:13:4: warning: symbol 'd40_width_to_bits' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
---
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: linux-arm-kernel at lists.infradead.org
Cc: dmaengine at vger.kernel.org
---
drivers/dma/ste_dma40_ll.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/ste_dma40_ll.c b/drivers/dma/ste_dma40_ll.c
index 27b818d..13b42dd 100644
--- a/drivers/dma/ste_dma40_ll.c
+++ b/drivers/dma/ste_dma40_ll.c
@@ -10,7 +10,7 @@
#include "ste_dma40_ll.h"
-u8 d40_width_to_bits(enum dma_slave_buswidth width)
+static u8 d40_width_to_bits(enum dma_slave_buswidth width)
{
if (width == DMA_SLAVE_BUSWIDTH_1_BYTE)
return STEDMA40_ESIZE_8_BIT;
--
2.8.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] dmaengine: ste_dma40_ll: make d40_width_to_bits static
2016-06-07 15:50 [PATCH] dmaengine: ste_dma40_ll: make d40_width_to_bits static Ben Dooks
@ 2016-06-08 3:30 ` Vinod Koul
0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2016-06-08 3:30 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Jun 07, 2016 at 04:50:03PM +0100, Ben Dooks wrote:
> Fix warning due to d40_width_to_bits() not being used outside
> this file. Fixes:
Applied, thanks
--
~Vinod
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-08 3:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-07 15:50 [PATCH] dmaengine: ste_dma40_ll: make d40_width_to_bits static Ben Dooks
2016-06-08 3:30 ` Vinod Koul
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).