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

Commit d3f3cf85 authored by Mathieu Lacage's avatar Mathieu Lacage Committed by Dan Williams
Browse files

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: default avatarMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 9f9ff20d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -548,7 +548,7 @@ static inline bool dma_dev_has_pq_continue(struct dma_device *dma)
	return (dma->max_pq & DMA_HAS_PQ_CONTINUE) == DMA_HAS_PQ_CONTINUE;
}

static unsigned short dma_dev_to_maxpq(struct dma_device *dma)
static inline unsigned short dma_dev_to_maxpq(struct dma_device *dma)
{
	return dma->max_pq & ~DMA_HAS_PQ_CONTINUE;
}