diff mbox

[v2] ASoC: topology: Fix build by declaring snd_kcontrol_new and soc_dai_link.

Message ID 1496760904-6427-1-git-send-email-liam.r.girdwood@linux.intel.com (mailing list archive)
State Accepted
Commit 294de6e372673229432dc8bcd80964223bc1589d
Headers show

Commit Message

Liam Girdwood June 6, 2017, 2:55 p.m. UTC
Both are used within this header so need to be declared.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
---
 include/sound/soc-topology.h | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/include/sound/soc-topology.h b/include/sound/soc-topology.h
index f9cc7b9271ac..7ea2794e1c6a 100644
--- a/include/sound/soc-topology.h
+++ b/include/sound/soc-topology.h
@@ -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 */