Messages in this thread | | | Date | Wed, 15 Feb 2023 12:58:41 +0000 | From | Mark Brown <> | Subject | Re: [PATCH] ASoC: soc-dapm.h: fixup warning struct snd_pcm_substream not declared |
| |
On Wed, Feb 15, 2023 at 09:46:43AM +0000, Lucas Tanure wrote: > Add sound/pcm.h header to include struct snd_pcm_substream used in > snd_soc_dapm_update_dai function.
> +#include <sound/pcm.h> > > struct device; > struct snd_soc_pcm_runtime;
This should be a forward declaration of the struct like the adjacent forward declarations that are already there, we only pass a pointer to it we don't need the contents. [unhandled content-type:application/pgp-signature] | |