Skip to contentSkip to conversation

ASoC: fsl_aud2htx: Fix kernel-doc

PATCH In review Manuel Ebner 2 participants 2 messages Nov 30 – Dec 1

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: fsl_aud2htx: Fix kernel-doc

Add 'struct' to kernel-doc, fixing:

  $ ./scripts/kernel-doc --none sound/soc/fsl/fsl_aud2htx.h
  Warning: sound/soc/fsl/fsl_aud2htx.h:58 cannot understand function prototype: 'struct fsl_aud2htx'
---
 sound/soc/fsl/fsl_aud2htx.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/fsl/fsl_aud2htx.h +1 -1
index cf292e3ccc..51e48ae603 100644
@@ -48,7 +48,7 @@
 #define AUD2HTX_MAXBURST         0x10
 
 /**
- * fsl_aud2htx: AUD2HTX private data
+ * struct fsl_aud2htx: AUD2HTX private data
  *
  * @pdev: platform device pointer
  * @regmap: regmap handler
Signature · 1 line
2.56.0
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Manuel Ebner

Add 'struct' to kernel-doc, fixing:

  $ ./scripts/kernel-doc --none sound/soc/fsl/fsl_aud2htx.h
  Warning: sound/soc/fsl/fsl_aud2htx.h:58 cannot understand function prototype: 'struct fsl_aud2htx'

Best regards
Whengjiu Wang

Quoted 20 lines
---
 sound/soc/fsl/fsl_aud2htx.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/fsl/fsl_aud2htx.h +1 -2
index cf292e3ccc..51e48ae603 100644
@@ -48,7 +48,7 @@
 #define AUD2HTX_MAXBURST         0x10
 
 /**
- * fsl_aud2htx: AUD2HTX private data
+ * struct fsl_aud2htx: AUD2HTX private data
  *
  * @pdev: platform device pointer
  * @regmap: regmap handler
--

2.56.0