diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/dmaengine.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index 9070050fbcd8..2fe855a7cab1 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h | |||
@@ -464,9 +464,12 @@ static inline void dma_set_unmap(struct dma_async_tx_descriptor *tx, | |||
464 | tx->unmap = unmap; | 464 | tx->unmap = unmap; |
465 | } | 465 | } |
466 | 466 | ||
467 | void dmaengine_unmap_put(struct dmaengine_unmap_data *unmap); | ||
468 | |||
467 | static inline void dma_descriptor_unmap(struct dma_async_tx_descriptor *tx) | 469 | static inline void dma_descriptor_unmap(struct dma_async_tx_descriptor *tx) |
468 | { | 470 | { |
469 | if (tx->unmap) { | 471 | if (tx->unmap) { |
472 | dmaengine_unmap_put(tx->unmap); | ||
470 | tx->unmap = NULL; | 473 | tx->unmap = NULL; |
471 | } | 474 | } |
472 | } | 475 | } |