diff mbox series

ASoC: fix soc-core.c kernel-doc warning

Message ID 2215ee04-e870-5eea-a00c-9a5caf06faae@infradead.org (mailing list archive)
State Accepted
Commit bc9a665581b3c6c82c9220a47f6573b49ce2df0b
Headers show
Series ASoC: fix soc-core.c kernel-doc warning | expand

Commit Message

Randy Dunlap Dec. 9, 2019, 4:37 a.m. UTC
From: Randy Dunlap <rdunlap@infradead.org>

Fix a kernel-doc warning in soc-core.c by adding notation for
@legacy_dai_naming.

../sound/soc/soc-core.c:2509: warning: Function parameter or member 'legacy_dai_naming' not described in 'snd_soc_register_dai'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org
---
 sound/soc/soc-core.c |    2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

--- linux-next-20191209.orig/sound/soc/soc-core.c
+++ linux-next-20191209/sound/soc/soc-core.c
@@ -2508,6 +2508,8 @@  EXPORT_SYMBOL_GPL(snd_soc_unregister_dai
  *
  * @component: The component the DAIs are registered for
  * @dai_drv: DAI driver to use for the DAI
+ * @legacy_dai_naming: if %true, use legacy single-name format;
+ * 	if %false, use multiple-name format;
  *
  * Topology can use this API to register DAIs when probing a component.
  * These DAIs's widgets will be freed in the card cleanup and the DAIs