[alsa-devel] [PATCH] ASoC: sprd: Fix modular build

Mark Brown broonie at kernel.org
Wed Apr 3 06:56:54 CEST 2019


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
-- 
2.20.1



More information about the Alsa-devel mailing list