missing inline keyword for static function in linux/dmaengine.h

Add a missing inline keyword for static function in linux/dmaengine.h to
avoid duplicate symbol definitions.

Signed-off-by: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>

authored by Mathieu Lacage and committed by Dan Williams d3f3cf85 9f9ff20d

+1 -1
+1 -1
include/linux/dmaengine.h
··· 548 548 return (dma->max_pq & DMA_HAS_PQ_CONTINUE) == DMA_HAS_PQ_CONTINUE; 549 549 } 550 550 551 - static unsigned short dma_dev_to_maxpq(struct dma_device *dma) 551 + static inline unsigned short dma_dev_to_maxpq(struct dma_device *dma) 552 552 { 553 553 return dma->max_pq & ~DMA_HAS_PQ_CONTINUE; 554 554 }