Re: [PATCH v2] ASoC: soc-dapm.h: fixup warning struct snd_pcm_substream not declared

From: AngeloGioacchino Del Regno
Date: Wed Feb 15 2023 - 10:07:32 EST


Il 15/02/23 14:28, Lucas Tanure ha scritto:
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@xxxxxxxxxxxxx>

Effectively, a forward declaration is a better fit for this case.

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>