aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Tanure <[email protected]>2023-02-15 13:28:51 +0000
committerMark Brown <[email protected]>2023-02-15 16:08:52 +0000
commitfdff966bfde7cf0c85562d2bfb1ff1ba83da5f7b (patch)
treecfc1abfadfe0672a5051f677fb6bb3e2450ede3b
parent926505cf14258376c3cd244e891c7d739a2a049a (diff)
ASoC: soc-dapm.h: fixup warning struct snd_pcm_substream not declared
Add struct snd_pcm_substream forward declaration Fixes: 078a85f2806f ("ASoC: dapm: Only power up active channels from a DAI") Signed-off-by: Lucas Tanure <[email protected]> Reviewed-by: Charles Keepax <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--include/sound/soc-dapm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h
index 77495e5988c1..64915ebd641e 100644
--- a/include/sound/soc-dapm.h
+++ b/include/sound/soc-dapm.h
@@ -16,6 +16,7 @@
#include <sound/asoc.h>
struct device;
+struct snd_pcm_substream;
struct snd_soc_pcm_runtime;
struct soc_enum;