diff options
author | Liam Girdwood <liam.r.girdwood@linux.intel.com> | 2017-06-06 10:55:04 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-06-07 15:06:35 -0400 |
commit | 294de6e372673229432dc8bcd80964223bc1589d (patch) | |
tree | 7231c37176469bff61699c257084b985d08b0422 | |
parent | c3421a6a65abc636b067eb15a4c5e9cb59e91c95 (diff) |
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>
-rw-r--r-- | include/sound/soc-topology.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc-topology.h b/include/sound/soc-topology.h index f9cc7b9271ac..b8da221615e0 100644 --- a/include/sound/soc-topology.h +++ b/include/sound/soc-topology.h | |||
@@ -28,6 +28,8 @@ struct snd_soc_component; | |||
28 | struct snd_soc_tplg_pcm_fe; | 28 | struct snd_soc_tplg_pcm_fe; |
29 | struct snd_soc_dapm_context; | 29 | struct snd_soc_dapm_context; |
30 | struct snd_soc_card; | 30 | struct snd_soc_card; |
31 | struct snd_kcontrol_new; | ||
32 | struct snd_soc_dai_link; | ||
31 | 33 | ||
32 | /* object scan be loaded and unloaded in groups with identfying indexes */ | 34 | /* object scan be loaded and unloaded in groups with identfying indexes */ |
33 | #define SND_SOC_TPLG_INDEX_ALL 0 /* ID that matches all FW objects */ | 35 | #define SND_SOC_TPLG_INDEX_ALL 0 /* ID that matches all FW objects */ |