ASoC: SOF: Intel: add namespace for XTENSA
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 17 Dec 2019 20:22:31 +0000 (14:22 -0600)
committerMark Brown <broonie@kernel.org>
Wed, 18 Dec 2019 20:02:21 +0000 (20:02 +0000)
Now that Xtensa stuff is only referenced in Intel stuff, define
namespace and import it in Intel BYT/BDW/HDaudio modules

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191217202231.18259-9-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/bdw.c
sound/soc/sof/intel/byt.c
sound/soc/sof/intel/hda.c
sound/soc/sof/xtensa/core.c

index 4d45b54a0f8b96c2720403a1ca7e707ec62f3a3e..6c23c57693309dbe4071659d568c87571a90b1a0 100644 (file)
@@ -645,3 +645,4 @@ EXPORT_SYMBOL_NS(bdw_chip_info, SND_SOC_SOF_BROADWELL);
 
 MODULE_LICENSE("Dual BSD/GPL");
 MODULE_IMPORT_NS(SND_SOC_SOF_INTEL_HIFI_EP_IPC);
+MODULE_IMPORT_NS(SND_SOC_SOF_XTENSA);
index 08193882f91fe7122e880fe6c33c1f00cbbdea67..f84391294f12c1f19d21bd526f21dd0378436a9a 100644 (file)
@@ -884,3 +884,4 @@ EXPORT_SYMBOL_NS(cht_chip_info, SND_SOC_SOF_BAYTRAIL);
 
 MODULE_LICENSE("Dual BSD/GPL");
 MODULE_IMPORT_NS(SND_SOC_SOF_INTEL_HIFI_EP_IPC);
+MODULE_IMPORT_NS(SND_SOC_SOF_XTENSA);
index adb842ed6b262ea45392cd03f476686990fba9ac..d08462f481de38ce6af2ad8dab345906bca39cd3 100644 (file)
@@ -797,3 +797,4 @@ void hda_machine_select(struct snd_sof_dev *sdev)
 MODULE_LICENSE("Dual BSD/GPL");
 MODULE_IMPORT_NS(SND_SOC_SOF_HDA_AUDIO_CODEC);
 MODULE_IMPORT_NS(SND_SOC_SOF_HDA_AUDIO_CODEC_I915);
+MODULE_IMPORT_NS(SND_SOC_SOF_XTENSA);
index 46a4905a9dce1537ecb985ed657a935e7056a230..ea08651f0bb39629cdcafda5f5735f8ecb72bec7 100644 (file)
@@ -132,7 +132,7 @@ const struct sof_arch_ops sof_xtensa_arch_ops = {
        .dsp_oops = xtensa_dsp_oops,
        .dsp_stack = xtensa_stack,
 };
-EXPORT_SYMBOL(sof_xtensa_arch_ops);
+EXPORT_SYMBOL_NS(sof_xtensa_arch_ops, SND_SOC_SOF_XTENSA);
 
 MODULE_DESCRIPTION("SOF Xtensa DSP support");
 MODULE_LICENSE("Dual BSD/GPL");