mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-18 20:04:16 +08:00
dmaengine: ste_dma40: Supply 2 missing struct attribute descriptions
Fixes the following W=1 kernel build warning(s): drivers/dma/ste_dma40.c:398: warning: Function parameter or member 'dma_addr' not described in 'd40_lcla_pool' drivers/dma/ste_dma40.c:601: warning: Function parameter or member 'dma_parms' not described in 'd40_base' Signed-off-by: Lee Jones <lee.jones@linaro.org> Cc: Per Forlin <per.forlin@stericsson.com> Cc: Jonas Aaberg <jonas.aberg@stericsson.com> Link: https://lore.kernel.org/r/20200714111546.1755231-7-lee.jones@linaro.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
f9e036df57
commit
0b851134f6
@ -381,6 +381,7 @@ struct d40_desc {
|
|||||||
* struct d40_lcla_pool - LCLA pool settings and data.
|
* struct d40_lcla_pool - LCLA pool settings and data.
|
||||||
*
|
*
|
||||||
* @base: The virtual address of LCLA. 18 bit aligned.
|
* @base: The virtual address of LCLA. 18 bit aligned.
|
||||||
|
* @dma_addr: DMA address, if mapped
|
||||||
* @base_unaligned: The orignal kmalloc pointer, if kmalloc is used.
|
* @base_unaligned: The orignal kmalloc pointer, if kmalloc is used.
|
||||||
* This pointer is only there for clean-up on error.
|
* This pointer is only there for clean-up on error.
|
||||||
* @pages: The number of pages needed for all physical channels.
|
* @pages: The number of pages needed for all physical channels.
|
||||||
@ -534,6 +535,7 @@ struct d40_gen_dmac {
|
|||||||
* mode" allocated physical channels.
|
* mode" allocated physical channels.
|
||||||
* @num_log_chans: The number of logical channels. Calculated from
|
* @num_log_chans: The number of logical channels. Calculated from
|
||||||
* num_phy_chans.
|
* num_phy_chans.
|
||||||
|
* @dma_parms: DMA parameters for the channel
|
||||||
* @dma_both: dma_device channels that can do both memcpy and slave transfers.
|
* @dma_both: dma_device channels that can do both memcpy and slave transfers.
|
||||||
* @dma_slave: dma_device channels that can do only do slave transfers.
|
* @dma_slave: dma_device channels that can do only do slave transfers.
|
||||||
* @dma_memcpy: dma_device channels that can do only do memcpy transfers.
|
* @dma_memcpy: dma_device channels that can do only do memcpy transfers.
|
||||||
|
Loading…
Reference in New Issue
Block a user