From: Tzung-Bi Shih Date: Thu, 25 Jun 2020 15:35:42 +0000 (+0800) Subject: ASoC: dapm: declare missing structure prototypes X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3d62ef4280a377bb2ccaee4e8f6c5093f5b8f9d4;p=linux.git ASoC: dapm: declare missing structure prototypes 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 Link: https://lore.kernel.org/r/20200625153543.85039-3-tzungbi@google.com Signed-off-by: Mark Brown --- diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h index 75467f2ed405c..c3039e97929a5 100644 --- a/include/sound/soc-dapm.h +++ b/include/sound/soc-dapm.h @@ -16,6 +16,8 @@ #include struct device; +struct snd_soc_pcm_runtime; +struct soc_enum; /* widget has no PM register bit */ #define SND_SOC_NOPM -1