diff options
author | Alexander Popov <a13xp0p0v88@gmail.com> | 2013-12-16 03:12:17 -0500 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-12-18 10:58:15 -0500 |
commit | 397321f45d31159c84982978106f3165be44bc2b (patch) | |
tree | 29a7e8feca53a21ae58a678bb139080cfae186ae | |
parent | a9ebbcd986de217cf650cb9f850a2fe3f72097f1 (diff) |
dmaengine: fix incorrect kernel-doc comment for struct dma_slave_config
The 'direction' member of 'struct dma_slave_config' is of data
type 'enum dma_transfer_direction', so update the kernel-doc comment
for 'struct dma_slave_config' to refer to appropriate values.
Signed-off-by: Alexander Popov <a13xp0p0v88@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
-rw-r--r-- | include/linux/dmaengine.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index 41cf0c399288..bd6b88222ced 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h | |||
@@ -305,9 +305,8 @@ enum dma_slave_buswidth { | |||
305 | /** | 305 | /** |
306 | * struct dma_slave_config - dma slave channel runtime config | 306 | * struct dma_slave_config - dma slave channel runtime config |
307 | * @direction: whether the data shall go in or out on this slave | 307 | * @direction: whether the data shall go in or out on this slave |
308 | * channel, right now. DMA_TO_DEVICE and DMA_FROM_DEVICE are | 308 | * channel, right now. DMA_MEM_TO_DEV and DMA_DEV_TO_MEM are |
309 | * legal values, DMA_BIDIRECTIONAL is not acceptable since we | 309 | * legal values. |
310 | * need to differentiate source and target addresses. | ||
311 | * @src_addr: this is the physical address where DMA slave data | 310 | * @src_addr: this is the physical address where DMA slave data |
312 | * should be read (RX), if the source is memory this argument is | 311 | * should be read (RX), if the source is memory this argument is |
313 | * ignored. | 312 | * ignored. |