[PATCH 08/14 v2] ASoC: fsl: p1022_ds: repair kernel-doc short descriptions
From: Randy Dunlap <hidden>
Date: 2026-07-15 00:05:33
Also in:
linux-arm-msm, linux-sound
The kernel-doc short description is assumed to be a function unless indicated by a keyword. Add the missing keyword (struct, var) to avoid kernel-doc warnings: Warning: sound/soc/fsl/p1022_ds.c:62 cannot understand function prototype: 'struct machine_data' Warning: sound/soc/fsl/p1022_ds.c:182 cannot understand function prototype: 'const struct snd_soc_ops p1022_ds_ops =' Signed-off-by: Randy Dunlap <redacted> --- v2: no change Cc: Liam Girdwood <lgirdwood@gmail.com> Cc: Mark Brown <broonie@kernel.org> Cc: linux-sound@vger.kernel.org Cc: Shengjiu Wang <shengjiu.wang@gmail.com> Cc: Xiubo Li <Xiubo.Lee@gmail.com> Cc: Fabio Estevam <festevam@gmail.com> Cc: Nicolin Chen <nicoleotsuka@gmail.com> Cc: linuxppc-dev@lists.ozlabs.org sound/soc/fsl/p1022_ds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
--- linext-2026-0710.orig/sound/soc/fsl/p1022_ds.c
+++ linext-2026-0710/sound/soc/fsl/p1022_ds.c@@ -55,7 +55,7 @@ static inline void guts_set_dmuxcr(struc static phys_addr_t guts_phys; /** - * machine_data: machine-specific ASoC device data + * struct machine_data - machine-specific ASoC device data * * This structure contains data for a single sound platform device on an * P1022 DS. Some of the data is taken from the device tree.
@@ -178,7 +178,7 @@ static int p1022_ds_machine_remove(struc } /** - * p1022_ds_ops: ASoC machine driver operations + * var p1022_ds_ops - ASoC machine driver operations */ static const struct snd_soc_ops p1022_ds_ops = { .startup = p1022_ds_startup,