[alsa-devel] [PATCH] ASoC: sprd: Fix modular build
Reported-by: Stephen Rothwell sfr@canb.auug.org.au Suggested-by: Baolin Wang baolin.wang@linaro.org Signed-off-by: Mark Brown broonie@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
Hi Mark,
On Wed, 3 Apr 2019 at 12:57, Mark Brown broonie@kernel.org wrote:
Reported-by: Stephen Rothwell sfr@canb.auug.org.au Suggested-by: Baolin Wang baolin.wang@linaro.org Signed-off-by: Mark Brown broonie@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@linaro.org
The patch
ASoC: sprd: Fix modular build
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks, Mark
From 0f9e47b3fd92c809a8c68719cd60ba863c4c48e0 Mon Sep 17 00:00:00 2001
From: Mark Brown broonie@kernel.org Date: Wed, 3 Apr 2019 11:55:40 +0700 Subject: [PATCH] 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 --- 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
participants (2)
-
Baolin Wang
-
Mark Brown