summaryrefslogtreecommitdiffstats
path: root/sound/soc/sprd
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2019-04-03 06:55:40 +0200
committerMark Brown <broonie@kernel.org>2019-04-03 07:49:00 +0200
commit0f9e47b3fd92c809a8c68719cd60ba863c4c48e0 (patch)
tree8d7e04b79cbac4dc697f801bdf151ad60089721a /sound/soc/sprd
parentASoC: Mediatek: MT8183: Fix build error in mt8183_da7219_max98357_dev_probe (diff)
downloadlinux-0f9e47b3fd92c809a8c68719cd60ba863c4c48e0.tar.xz
linux-0f9e47b3fd92c809a8c68719cd60ba863c4c48e0.zip
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