From: Ben Dooks Date: Tue, 7 Jun 2016 15:50:03 +0000 (+0100) Subject: dmaengine: ste_dma40_ll: make d40_width_to_bits static X-Git-Tag: v4.8-rc1~117^2~10^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0161df13250035e7599f3cce6039bd046b7647dc;p=karo-tx-linux.git 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 Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/ste_dma40_ll.c b/drivers/dma/ste_dma40_ll.c index 27b818dee7c7..13b42dd9900c 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;