summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@nxp.com>2022-07-06 13:45:09 +0800
committerVinod Koul <vkoul@kernel.org>2022-07-06 21:58:37 +0530
commit01eafd4b23805890dfe8b3e639f1bf299a6dbcf5 (patch)
tree1f74d212ed7d5a4e068758a4a60fbca63eb32f8d /drivers/dma
parentb2cc5c465c2cb8ab697c3fd6583c614e3f6cfbcc (diff)
downloadlinux-01eafd4b23805890dfe8b3e639f1bf299a6dbcf5.tar.bz2
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 <shengjiu.wang@nxp.com> Link: https://lore.kernel.org/r/1657086309-7964-1-git-send-email-shengjiu.wang@nxp.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/imx-sdma.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index 43d78e98a912..8a5d4d4a4dff 100644
--- a/drivers/dma/imx-sdma.c
+++ b/drivers/dma/imx-sdma.c
@@ -188,7 +188,7 @@
#define SDMA_DONE0_CONFIG_DONE_SEL BIT(7)
#define SDMA_DONE0_CONFIG_DONE_DIS BIT(6)
-/**
+/*
* struct sdma_script_start_addrs - SDMA script start pointers
*
* start addresses of the different functions in the physical
@@ -424,6 +424,11 @@ struct sdma_desc {
* @data: specific sdma interface structure
* @bd_pool: dma_pool for bd
* @terminate_worker: used to call back into terminate work function
+ * @terminated: terminated list
+ * @is_ram_script: flag for script in ram
+ * @n_fifos_src: number of source device fifos
+ * @n_fifos_dst: number of destination device fifos
+ * @sw_done: software done flag
*/
struct sdma_channel {
struct virt_dma_chan vc;