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

ASoC: topology: Fix potential build issues with undeclared structs

We should be declaring snd_kcontrol_new and soc_dai_link as both are
used within this header so need to be declared.

[Reworded commit message to indicate this wasn't an immediate build
failure -- broonie]

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Liam Girdwood and committed by
Mark Brown
294de6e3 c3421a6a

+2
+2
include/sound/soc-topology.h
··· 28 28 struct snd_soc_tplg_pcm_fe; 29 29 struct snd_soc_dapm_context; 30 30 struct snd_soc_card; 31 + struct snd_kcontrol_new; 32 + struct snd_soc_dai_link; 31 33 32 34 /* object scan be loaded and unloaded in groups with identfying indexes */ 33 35 #define SND_SOC_TPLG_INDEX_ALL 0 /* ID that matches all FW objects */