aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/intel/boards/sof_maxim_common.h
diff options
context:
space:
mode:
authorGravatar Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> 2021-05-05 11:36:58 -0500
committerGravatar Mark Brown <broonie@kernel.org> 2021-05-10 13:04:19 +0100
commit9c5046e4b3e736eec5b9a8f1d59c07bb0ed78a7a (patch)
tree7d0361a958219a8f8fca9e27392fb2ea9fda3aef /sound/soc/intel/boards/sof_maxim_common.h
parentASoC: Intel: boards: handle hda-dsp-common as a module (diff)
downloadlinux-9c5046e4b3e736eec5b9a8f1d59c07bb0ed78a7a.tar.gz
linux-9c5046e4b3e736eec5b9a8f1d59c07bb0ed78a7a.tar.bz2
linux-9c5046e4b3e736eec5b9a8f1d59c07bb0ed78a7a.zip
ASoC: Intel: boards: create sof-maxim-common module
sof_maxim_common.o is linked twice, move to a dedicated module. Also clean-up interfaces to use a consistent 'max_98373' prefix for all symbols. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Link: https://lore.kernel.org/r/20210505163705.305616-7-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards/sof_maxim_common.h')
-rw-r--r--sound/soc/intel/boards/sof_maxim_common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/intel/boards/sof_maxim_common.h b/sound/soc/intel/boards/sof_maxim_common.h
index 5240b1c9d379..566a664d5a63 100644
--- a/sound/soc/intel/boards/sof_maxim_common.h
+++ b/sound/soc/intel/boards/sof_maxim_common.h
@@ -20,8 +20,8 @@ extern struct snd_soc_dai_link_component max_98373_components[2];
extern struct snd_soc_ops max_98373_ops;
extern const struct snd_soc_dapm_route max_98373_dapm_routes[];
-int max98373_spk_codec_init(struct snd_soc_pcm_runtime *rtd);
-void sof_max98373_codec_conf(struct snd_soc_card *card);
-int max98373_trigger(struct snd_pcm_substream *substream, int cmd);
+int max_98373_spk_codec_init(struct snd_soc_pcm_runtime *rtd);
+void max_98373_set_codec_conf(struct snd_soc_card *card);
+int max_98373_trigger(struct snd_pcm_substream *substream, int cmd);
#endif /* __SOF_MAXIM_COMMON_H */