summaryrefslogtreecommitdiffstats
path: root/sound/soc/sprd
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2019-04-03 11:55:40 +0700
committerMark Brown <broonie@kernel.org>2019-04-03 12:49:00 +0700
commit0f9e47b3fd92c809a8c68719cd60ba863c4c48e0 (patch)
tree8d7e04b79cbac4dc697f801bdf151ad60089721a /sound/soc/sprd
parent52a30f3bb1b15c7d27233e9947370c1c14b5cbae (diff)
downloadlinux-0f9e47b3fd92c809a8c68719cd60ba863c4c48e0.tar.bz2
ASoC: sprd: Fix modular build
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Suggested-by: Baolin Wang <baolin.wang@linaro.org> Tested-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sprd')
-rw-r--r--sound/soc/sprd/Makefile4
1 files changed, 3 insertions, 1 deletions
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