Messages in this thread Patch in this message |  | | | Subject | [PATCH] missing inline keyword for static function in linux/dmaengine.h | | From | Mathieu Lacage <> | | Date | Sat, 14 Aug 2010 15:02:44 +0200 |
| |
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>
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index 5204f01..57d2b76 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h @@ -477,7 +477,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; }
|  |