Skip to content

Commit 01eafd4

Browse files
TE-N-ShengjiuWangvinodkoul
authored andcommitted
dmaengine: imx-sdma: Add missing struct documentation
Fix compile warning that 'Function parameter or member not described' with 'W=1' option: Add missing description for struct sdma_desc There is not any description for struct sdma_script_start_addrs, so use /* instead of /** Signed-off-by: Shengjiu Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent b2cc5c4 commit 01eafd4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

drivers/dma/imx-sdma.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
#define SDMA_DONE0_CONFIG_DONE_SEL BIT(7)
189189
#define SDMA_DONE0_CONFIG_DONE_DIS BIT(6)
190190

191-
/**
191+
/*
192192
* struct sdma_script_start_addrs - SDMA script start pointers
193193
*
194194
* start addresses of the different functions in the physical
@@ -424,6 +424,11 @@ struct sdma_desc {
424424
* @data: specific sdma interface structure
425425
* @bd_pool: dma_pool for bd
426426
* @terminate_worker: used to call back into terminate work function
427+
* @terminated: terminated list
428+
* @is_ram_script: flag for script in ram
429+
* @n_fifos_src: number of source device fifos
430+
* @n_fifos_dst: number of destination device fifos
431+
* @sw_done: software done flag
427432
*/
428433
struct sdma_channel {
429434
struct virt_dma_chan vc;

0 commit comments

Comments
 (0)