Messages in this thread Patch in this message | | | From | Lucas Tanure <> | Subject | [PATCH] ASoC: soc-dapm.h: fixup warning struct snd_pcm_substream not declared | Date | Wed, 15 Feb 2023 09:46:43 +0000 |
| |
Add sound/pcm.h header to include struct snd_pcm_substream used in snd_soc_dapm_update_dai function.
Fixes: 078a85f2806f ("ASoC: dapm: Only power up active channels from a DAI") Signed-off-by: Lucas Tanure <lucas.tanure@collabora.com> --- include/sound/soc-dapm.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h index 77495e5988c1..8fbb50a11d80 100644 --- a/include/sound/soc-dapm.h +++ b/include/sound/soc-dapm.h @@ -14,6 +14,7 @@ #include <sound/control.h> #include <sound/soc-topology.h> #include <sound/asoc.h> +#include <sound/pcm.h> struct device; struct snd_soc_pcm_runtime; -- 2.39.1
| |