Commit 294de6e3 authored by Liam Girdwood's avatar Liam Girdwood Committed by Mark Brown

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: default avatarLiam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent c3421a6a
...@@ -28,6 +28,8 @@ struct snd_soc_component; ...@@ -28,6 +28,8 @@ struct snd_soc_component;
struct snd_soc_tplg_pcm_fe; struct snd_soc_tplg_pcm_fe;
struct snd_soc_dapm_context; struct snd_soc_dapm_context;
struct snd_soc_card; struct snd_soc_card;
struct snd_kcontrol_new;
struct snd_soc_dai_link;
/* object scan be loaded and unloaded in groups with identfying indexes */ /* object scan be loaded and unloaded in groups with identfying indexes */
#define SND_SOC_TPLG_INDEX_ALL 0 /* ID that matches all FW objects */ #define SND_SOC_TPLG_INDEX_ALL 0 /* ID that matches all FW objects */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment