aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2015-10-20 07:14:45 -0400
committerVinod Koul <vinod.koul@intel.com>2015-10-26 22:12:09 -0400
commit28ca3e8556e3ecda74adf1c4c3453ed9d5b9e5e6 (patch)
treee01fa37fedeaafe3d26301fcaf31eeb2dae2234a
parent52984aab3369869d43efdf15743cc23795413f68 (diff)
dmaengine: virt-dma: Fix kernel-doc annotations
In kernel-doc annotations parameters need to start with a @ for them to be properly recognized. Add those where missing for virt-dma. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
-rw-r--r--drivers/dma/virt-dma.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/dma/virt-dma.h b/drivers/dma/virt-dma.h
index 181b95267866..2fa47745a41f 100644
--- a/drivers/dma/virt-dma.h
+++ b/drivers/dma/virt-dma.h
@@ -47,9 +47,9 @@ struct virt_dma_desc *vchan_find_desc(struct virt_dma_chan *, dma_cookie_t);
47 47
48/** 48/**
49 * vchan_tx_prep - prepare a descriptor 49 * vchan_tx_prep - prepare a descriptor
50 * vc: virtual channel allocating this descriptor 50 * @vc: virtual channel allocating this descriptor
51 * vd: virtual descriptor to prepare 51 * @vd: virtual descriptor to prepare
52 * tx_flags: flags argument passed in to prepare function 52 * @tx_flags: flags argument passed in to prepare function
53 */ 53 */
54static inline struct dma_async_tx_descriptor *vchan_tx_prep(struct virt_dma_chan *vc, 54static inline struct dma_async_tx_descriptor *vchan_tx_prep(struct virt_dma_chan *vc,
55 struct virt_dma_desc *vd, unsigned long tx_flags) 55 struct virt_dma_desc *vd, unsigned long tx_flags)
@@ -65,7 +65,7 @@ static inline struct dma_async_tx_descriptor *vchan_tx_prep(struct virt_dma_chan
65 65
66/** 66/**
67 * vchan_issue_pending - move submitted descriptors to issued list 67 * vchan_issue_pending - move submitted descriptors to issued list
68 * vc: virtual channel to update 68 * @vc: virtual channel to update
69 * 69 *
70 * vc.lock must be held by caller 70 * vc.lock must be held by caller
71 */ 71 */
@@ -77,7 +77,7 @@ static inline bool vchan_issue_pending(struct virt_dma_chan *vc)
77 77
78/** 78/**
79 * vchan_cookie_complete - report completion of a descriptor 79 * vchan_cookie_complete - report completion of a descriptor
80 * vd: virtual descriptor to update 80 * @vd: virtual descriptor to update
81 * 81 *
82 * vc.lock must be held by caller 82 * vc.lock must be held by caller
83 */ 83 */
@@ -97,7 +97,7 @@ static inline void vchan_cookie_complete(struct virt_dma_desc *vd)
97 97
98/** 98/**
99 * vchan_cyclic_callback - report the completion of a period 99 * vchan_cyclic_callback - report the completion of a period
100 * vd: virtual descriptor 100 * @vd: virtual descriptor
101 */ 101 */
102static inline void vchan_cyclic_callback(struct virt_dma_desc *vd) 102static inline void vchan_cyclic_callback(struct virt_dma_desc *vd)
103{ 103{
@@ -109,7 +109,7 @@ static inline void vchan_cyclic_callback(struct virt_dma_desc *vd)
109 109
110/** 110/**
111 * vchan_next_desc - peek at the next descriptor to be processed 111 * vchan_next_desc - peek at the next descriptor to be processed
112 * vc: virtual channel to obtain descriptor from 112 * @vc: virtual channel to obtain descriptor from
113 * 113 *
114 * vc.lock must be held by caller 114 * vc.lock must be held by caller
115 */ 115 */
@@ -123,8 +123,8 @@ static inline struct virt_dma_desc *vchan_next_desc(struct virt_dma_chan *vc)
123 123
124/** 124/**
125 * vchan_get_all_descriptors - obtain all submitted and issued descriptors 125 * vchan_get_all_descriptors - obtain all submitted and issued descriptors
126 * vc: virtual channel to get descriptors from 126 * @vc: virtual channel to get descriptors from
127 * head: list of descriptors found 127 * @head: list of descriptors found
128 * 128 *
129 * vc.lock must be held by caller 129 * vc.lock must be held by caller
130 * 130 *