Skip to content

Commit e2f5e5a

Browse files
H Hartley SweetenVinod Koul
authored andcommitted
dma/ep93xx_dma.c: local symbols should be static
The symbol 'ep93xx_dma_prep_dma_memcpy' is only used in this driver and should be marked static. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Mika Westerberg <mika.westerberg@iki.fi> Cc: Dan Williams <dan.j.williams@intel.com> Cc: Vinod Koul <vinod.koul@intel.com> Acked-by: Mika Westerberg <mika.westerberg@iki.fi> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
1 parent 4b28d81 commit e2f5e5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/dma/ep93xx_dma.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ static void ep93xx_dma_free_chan_resources(struct dma_chan *chan)
902902
*
903903
* Returns a valid DMA descriptor or %NULL in case of failure.
904904
*/
905-
struct dma_async_tx_descriptor *
905+
static struct dma_async_tx_descriptor *
906906
ep93xx_dma_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dest,
907907
dma_addr_t src, size_t len, unsigned long flags)
908908
{

0 commit comments

Comments
 (0)