Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0161df13 authored by Ben Dooks's avatar Ben Dooks Committed by Vinod Koul
Browse files

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: default avatarBen Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 1a695a90
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;