diff options
author | Jindong <jindong.yue@nxp.com> | 2020-09-16 15:21:35 +0800 |
---|---|---|
committer | Jindong <jindong.yue@nxp.com> | 2020-10-27 17:00:10 +0800 |
commit | 0c99d876def2626fc9065126f1db605e230567f5 (patch) | |
tree | eccee35bde37a9b27ff74aa1368c8acd59a67b67 /sound/soc/fsl/fsl_dsp_cpu.c | |
parent | 4b82ed17bcfd6395fae498c04b2bc4e2eecf2a31 (diff) |
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 <jindong.yue@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Diffstat (limited to 'sound/soc/fsl/fsl_dsp_cpu.c')
-rw-r--r-- | sound/soc/fsl/fsl_dsp_cpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
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"); |