Skip to content

Commit fdff966

Browse files
Lucas Tanurebroonie
authored andcommitted
ASoC: soc-dapm.h: fixup warning struct snd_pcm_substream not declared
Add struct snd_pcm_substream forward declaration Fixes: 078a85f ("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>
1 parent 926505c commit fdff966

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/sound/soc-dapm.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include <sound/asoc.h>
1717

1818
struct device;
19+
struct snd_pcm_substream;
1920
struct snd_soc_pcm_runtime;
2021
struct soc_enum;
2122

0 commit comments

Comments
 (0)