Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <ben.dooks@codethink.co.uk>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>

authored by

Ben Dooks and committed by
Vinod Koul
0161df13 1a695a90

+1 -1
+1 -1
drivers/dma/ste_dma40_ll.c
··· 10 10 11 11 #include "ste_dma40_ll.h" 12 12 13 - u8 d40_width_to_bits(enum dma_slave_buswidth width) 13 + static u8 d40_width_to_bits(enum dma_slave_buswidth width) 14 14 { 15 15 if (width == DMA_SLAVE_BUSWIDTH_1_BYTE) 16 16 return STEDMA40_ESIZE_8_BIT;