Commit f4c20f08 authored by Lee Jones's avatar Lee Jones Committed by Vinod Koul

dmaengine: mediatek: mtk-hsdma: Fix formatting in 'struct mtk_hsdma_pdesc' doc block

Struct attribute names must be an exact match or the kerneldoc checker
gets confused.

Fixes the following W=1 kernel build warning(s):

 drivers/dma/mediatek/mtk-hsdma.c:120: warning: Function parameter or member 'desc1' not described in 'mtk_hsdma_pdesc'
 drivers/dma/mediatek/mtk-hsdma.c:120: warning: Function parameter or member 'desc2' not described in 'mtk_hsdma_pdesc'
 drivers/dma/mediatek/mtk-hsdma.c:120: warning: Function parameter or member 'desc3' not described in 'mtk_hsdma_pdesc'
 drivers/dma/mediatek/mtk-hsdma.c:120: warning: Function parameter or member 'desc4' not described in 'mtk_hsdma_pdesc'
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Cc: Sean Wang <sean.wang@mediatek.com>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: linux-mediatek@lists.infradead.org
Link: https://lore.kernel.org/r/20200714111546.1755231-2-lee.jones@linaro.orgSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 09b4db27
...@@ -107,10 +107,10 @@ enum mtk_hsdma_vdesc_flag { ...@@ -107,10 +107,10 @@ enum mtk_hsdma_vdesc_flag {
* struct mtk_hsdma_pdesc - This is the struct holding info describing physical * struct mtk_hsdma_pdesc - This is the struct holding info describing physical
* descriptor (PD) and its placement must be kept at * descriptor (PD) and its placement must be kept at
* 4-bytes alignment in little endian order. * 4-bytes alignment in little endian order.
* @desc[1-4]: The control pad used to indicate hardware how to * @desc1: | The control pad used to indicate hardware how to
* deal with the descriptor such as source and * @desc2: | deal with the descriptor such as source and
* destination address and data length. The maximum * @desc3: | destination address and data length. The maximum
* data length each pdesc can handle is 0x3f80 bytes * @desc4: | data length each pdesc can handle is 0x3f80 bytes
*/ */
struct mtk_hsdma_pdesc { struct mtk_hsdma_pdesc {
__le32 desc1; __le32 desc1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment