dmaengine: ste_dma40_ll: make d40_width_to_bits static
Subsystems (2)
PATCH 1/1 dmaengine: ste_dma40_ll: make d40_width_to_bits static
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 <[email protected]>
---
Cc: Linus Walleij <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Vinod Koul <[email protected]>
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(-)
drivers/dma/ste_dma40_ll.c +1 -1
@@ -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 ;
Signature · 1 line
2.8.1
Vinod Koul
AppliedPATCH 1/1 dmaengine: ste_dma40_ll: make d40_width_to_bits static
Quoted 2 lines · Ben Dooks
Fix warning due to
d40_width_to_bits()not being used outside this file. Fixes:
Applied, thanks
Signature · 1 line
~Vinod