]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: dapm: declare missing structure prototypes
authorTzung-Bi Shih <tzungbi@google.com>
Thu, 25 Jun 2020 15:35:42 +0000 (23:35 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 Mar 2023 15:43:47 +0000 (16:43 +0100)
commitc256ddc4c165815601a9f0fdeba9984aa34c9329
tree2f36a54455926efd34daf14d0b13247353ee0074
parentd9abdfda8574048db7211661bcf764a4bcc9aa63
ASoC: dapm: declare missing structure prototypes

[ Upstream commit 0b3fc11703e2ab63e152bd222d58933b0e8dd5df ]

To fix compilation warnings:

- struct 'snd_soc_pcm_runtime' declared inside parameter list will not
  be visible outside of this definition or declaration
- struct 'soc_enum' declared inside parameter list will not be visible
  outside of this definition or declaration

Declares the missing structure prototypes.

Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/r/20200625153543.85039-3-tzungbi@google.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Stable-dep-of: fdff966bfde7 ("ASoC: soc-dapm.h: fixup warning struct snd_pcm_substream not declared")
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/sound/soc-dapm.h