[alsa-devel] [PATCH] ASoC: sprd: Fix modular build
Baolin Wang
baolin.wang at linaro.org
Wed Apr 3 07:17:32 CEST 2019
Hi Mark,
On Wed, 3 Apr 2019 at 12:57, Mark Brown <broonie at kernel.org> wrote:
>
> Reported-by: Stephen Rothwell <sfr at canb.auug.org.au>
> Suggested-by: Baolin Wang <baolin.wang at linaro.org>
> Signed-off-by: Mark Brown <broonie at kernel.org>
> ---
> sound/soc/sprd/Makefile | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/sound/soc/sprd/Makefile b/sound/soc/sprd/Makefile
> index fa1d5476b8da..e6c2606da8e2 100644
> --- a/sound/soc/sprd/Makefile
> +++ b/sound/soc/sprd/Makefile
> @@ -1,4 +1,6 @@
> # SPDX-License-Identifier: GPL-2.0
> # Spreadtrum Audio Support
>
> -obj-$(CONFIG_SND_SOC_SPRD) += sprd-pcm-dma.o sprd-pcm-compress.o
> +snd-soc-sprd-platform-objs := sprd-pcm-dma.o sprd-pcm-compress.o
> +
> +obj-$(CONFIG_SND_SOC_SPRD) += snd-soc-sprd-platform.o
> --
Thanks for your help. It can fix the issue.
Tested-by: Baolin Wang <baolin.wang at linaro.org>
--
Baolin Wang
Best Regards
More information about the Alsa-devel
mailing list