ASoC: SOF: Intel: hda: Relocate inline definitions from hda.h to hda.c for sdw
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Wed, 15 Sep 2021 07:18:05 +0000 (10:18 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 15 Sep 2021 12:11:20 +0000 (13:11 +0100)
commit3e9d5b0952fcaa32e9f73a22f56d200103209a8c
tree835f5f4605a0dbc1f2861699e22d6675caba96f4
parentcf813f679214abb2bfe2a0020c1b3551dfd304cb
ASoC: SOF: Intel: hda: Relocate inline definitions from hda.h to hda.c for sdw

Move the only locally needed inline functions to hda.c when
CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE is not enabled to make the header file
less cluttered with information no needed to be there.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20210915071805.5704-4-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda.c
sound/soc/sof/intel/hda.h