mbox series

[0/2] firmware: cs_dsp: Switch to using namespaced exports

Message ID 20221124134556.3343784-1-rf@opensource.cirrus.com
Headers show
Series firmware: cs_dsp: Switch to using namespaced exports | expand

Message

Richard Fitzgerald Nov. 24, 2022, 1:45 p.m. UTC
Use EXPORT_SYMBOL_NS_GPL() instead of EXPORT_SYMBOL_GPL() and patch the
three drivers that use cs_dsp to add the MODULE_IMPORT_NS().

To make the namespace more specific the KConfig symbol for cs_dsp is
changed from CS_DSP to FW_CS_DSP.

Richard Fitzgerald (2):
  firmware: cs_dsp: Rename KConfig symbol CS_DSP -> FW_CS_DSP
  firmware: cs_dsp: Make the exports namespaced

 drivers/firmware/cirrus/Kconfig  |  2 +-
 drivers/firmware/cirrus/Makefile |  2 +-
 drivers/firmware/cirrus/cs_dsp.c | 62 ++++++++++++++++----------------
 sound/pci/hda/Kconfig            |  2 +-
 sound/pci/hda/cs35l41_hda.c      |  1 +
 sound/pci/hda/hda_cs_dsp_ctl.c   |  1 +
 sound/soc/codecs/Kconfig         |  2 +-
 sound/soc/codecs/wm_adsp.c       |  1 +
 8 files changed, 38 insertions(+), 35 deletions(-)