ASoC: soc-dapm.h: fixup warning struct snd_pcm_substream not declared
authorLucas Tanure <lucas.tanure@collabora.com>
Wed, 15 Feb 2023 13:28:51 +0000 (13:28 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:39:31 +0000 (09:39 +0100)
commit547d18473a16c49ab4ef568331dcaab95d26d8a3
tree2d2826f3ed7b48164511372f5f85ffcd5eba9b0f
parent78b4d1e54531cb59fefdf8a1d2ec33acbf7ea5b1
ASoC: soc-dapm.h: fixup warning struct snd_pcm_substream not declared

[ Upstream commit fdff966bfde7cf0c85562d2bfb1ff1ba83da5f7b ]

Add struct snd_pcm_substream forward declaration

Fixes: 078a85f2806f ("ASoC: dapm: Only power up active channels from a DAI")
Signed-off-by: Lucas Tanure <lucas.tanure@collabora.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230215132851.1626881-1-lucas.tanure@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/sound/soc-dapm.h