]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ASoC: topology: Fix potential build issues with undeclared structs
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>
Tue, 6 Jun 2017 14:55:04 +0000 (15:55 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 7 Jun 2017 19:06:35 +0000 (20:06 +0100)
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>
include/sound/soc-topology.h

index f9cc7b9271ac438ccfb9ca61c739be10393cc663..b8da221615e0dc195392b1df219bb2a7717d610b 100644 (file)
@@ -28,6 +28,8 @@ struct snd_soc_component;
 struct snd_soc_tplg_pcm_fe;
 struct snd_soc_dapm_context;
 struct snd_soc_card;
+struct snd_kcontrol_new;
+struct snd_soc_dai_link;
 
 /* object scan be loaded and unloaded in groups with identfying indexes */
 #define SND_SOC_TPLG_INDEX_ALL 0       /* ID that matches all FW objects */