From: Liam Girdwood Date: Tue, 6 Jun 2017 14:55:04 +0000 (+0100) Subject: ASoC: topology: Fix potential build issues with undeclared structs X-Git-Tag: v4.13-rc1~142^2~1^2^2~1^5~4 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=294de6e372673229432dc8bcd80964223bc1589d;p=karo-tx-linux.git 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 Signed-off-by: Mark Brown --- 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; 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 */