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 <[email protected]> --- v2: no change Cc: Liam Girdwood <[email protected]> Cc: Mark Brown <[email protected]> Cc: [email protected] Cc: Shengjiu Wang <[email protected]> Cc: Xiubo Li <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Nicolin Chen <[email protected]> Cc: [email protected] 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,
