Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Tzung-Bi Shih and committed by
Mark Brown
3d62ef42 10e83409

+2
+2
include/sound/soc-dapm.h
··· 16 16 #include <sound/asoc.h> 17 17 18 18 struct device; 19 + struct snd_soc_pcm_runtime; 20 + struct soc_enum; 19 21 20 22 /* widget has no PM register bit */ 21 23 #define SND_SOC_NOPM -1