Commit d3f3cf859db17cc5f8156c5bfcd032413e44483b
Committed by
Dan Williams
1 parent
9f9ff20d46
Exists in
master
and in
4 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
include/linux/dmaengine.h
... | ... | @@ -548,7 +548,7 @@ |
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 | } |