diff mbox

ASoC: fix build warning in soc-core.c

Message ID ef36bde9-d303-efe1-ce77-57e281311301@infradead.org (mailing list archive)
State Accepted
Commit bb19ba2a345439b4de3f6d59819da9853500ac4d
Headers show

Commit Message

Randy Dunlap Oct. 30, 2017, 12:10 a.m. UTC
From: Randy Dunlap <rdunlap@infradead.org>

Fix kernel-doc build error. A symbol that ends with an underscore
character ('_') has special meaning in reST (reStructuredText), so add
a '*' to prevent this error and to indicate that there are several of
these values to choose from.

../sound/soc/soc-core.c:2799: ERROR: Unknown target name: "snd_soc_daifmt".

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, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

--- lnx-414-rc7.orig/sound/soc/soc-core.c
+++ lnx-414-rc7/sound/soc/soc-core.c
@@ -2796,7 +2796,7 @@  EXPORT_SYMBOL_GPL(snd_soc_dai_set_bclk_r
 /**
  * snd_soc_dai_set_fmt - configure DAI hardware audio format.
  * @dai: DAI
- * @fmt: SND_SOC_DAIFMT_ format value.
+ * @fmt: SND_SOC_DAIFMT_* format value.
  *
  * Configures the DAI hardware format and clocking.
  */