Skip to content

Commit

Permalink
ASoC: soc-dapm.h: fixup warning struct snd_pcm_substream not declared
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lucas Tanure authored and Mark Brown committed Feb 15, 2023
1 parent 926505c commit fdff966
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/sound/soc-dapm.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <sound/asoc.h>

struct device;
struct snd_pcm_substream;
struct snd_soc_pcm_runtime;
struct soc_enum;

Expand Down

0 comments on commit fdff966

Please sign in to comment.