From 0c99d876def2626fc9065126f1db605e230567f5 Mon Sep 17 00:00:00 2001 From: Jindong Date: Wed, 16 Sep 2020 15:21:35 +0800 Subject: MA-17897 ASoC: fsl_dsp: Support building as module Make fsl_dsp_cpu as a separate driver, otherwise below build error will occur when set CONFIG_SND_SOC_FSL_DSP=m ld.lld: error: duplicate symbol: init_module >>> defined at fsl_dsp.c >>> sound/soc/fsl/fsl_dsp.o:(init_module) >>> defined at fsl_dsp_cpu.c >>> sound/soc/fsl/fsl_dsp_cpu.o:(.init.text+0x0) Signed-off-by: Jindong Reviewed-by: Shengjiu Wang --- sound/soc/fsl/fsl_dsp_cpu.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sound/soc/fsl/fsl_dsp_cpu.c') diff --git a/sound/soc/fsl/fsl_dsp_cpu.c b/sound/soc/fsl/fsl_dsp_cpu.c index e97d09ae0c45..f202cdc4ed72 100644 --- a/sound/soc/fsl/fsl_dsp_cpu.c +++ b/sound/soc/fsl/fsl_dsp_cpu.c @@ -95,3 +95,4 @@ static struct platform_driver dsp_audio_driver = { .remove = dsp_audio_remove, }; module_platform_driver(dsp_audio_driver); +MODULE_LICENSE("GPL v2"); -- cgit v1.2.3