summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@google.com>2020-06-25 23:35:42 +0800
committerMark Brown <broonie@kernel.org>2020-06-25 19:21:01 +0100
commit3d62ef4280a377bb2ccaee4e8f6c5093f5b8f9d4 (patch)
tree694badceb03efb7db39b75bc9bd1c1b9fe47b96a /include/sound
parent10e834099d38dd2c02bf2bd5feaa3997cfcf139f (diff)
downloadlinux-3d62ef4280a377bb2ccaee4e8f6c5093f5b8f9d4.tar.bz2
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 <tzungbi@google.com> Link: https://lore.kernel.org/r/20200625153543.85039-3-tzungbi@google.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc-dapm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h
index 75467f2ed405..c3039e97929a 100644
--- a/include/sound/soc-dapm.h
+++ b/include/sound/soc-dapm.h
@@ -16,6 +16,8 @@
#include <sound/asoc.h>
struct device;
+struct snd_soc_pcm_runtime;
+struct soc_enum;
/* widget has no PM register bit */
#define SND_SOC_NOPM -1