dmaengine: ste_dma40_ll: make d40_width_to_bits static
authorBen Dooks <ben.dooks@codethink.co.uk>
Tue, 7 Jun 2016 15:50:03 +0000 (16:50 +0100)
committerVinod Koul <vinod.koul@intel.com>
Wed, 8 Jun 2016 03:29:55 +0000 (08:59 +0530)
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>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/ste_dma40_ll.c

index 27b818d..13b42dd 100644 (file)
@@ -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;