diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index 6d550421da7a4c0a8bcf5357ec1776a9eb7564e9..3ce7d553a74607633d5ec0d2edcc55de5293b325 100644 --- a/drivers/dma/pl330.c +++ b/drivers/dma/pl330.c @@ -2539,7 +2539,7 @@ static inline void _init_desc(struct dma_pl330_desc *desc) } /* Returns the number of descriptors added to the DMAC pool */ -int add_desc(struct dma_pl330_dmac *pdmac, gfp_t flg, int count) +static int add_desc(struct dma_pl330_dmac *pdmac, gfp_t flg, int count) { struct dma_pl330_desc *desc; unsigned long flags;