From 0f9e47b3fd92c809a8c68719cd60ba863c4c48e0 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Wed, 3 Apr 2019 11:55:40 +0700 Subject: [PATCH] ASoC: sprd: Fix modular build Reported-by: Stephen Rothwell Suggested-by: Baolin Wang Tested-by: Baolin Wang Signed-off-by: Mark Brown --- 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.30.2