ASoC: SOF: Move sof_of_machine_select() to sof-of-dev.c from sof-audio.c
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Wed, 29 Nov 2023 12:53:15 +0000 (14:53 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 29 Nov 2023 13:25:04 +0000 (13:25 +0000)
commit014fdeb0d747304111cfecf93df4407c1a0c80db
tree53d568276c1e28e8ca302b7da7b23447b07b6f23
parent8c91ca76f44804868d12aed20ebdbc2f89aa7d60
ASoC: SOF: Move sof_of_machine_select() to sof-of-dev.c from sof-audio.c

Move the sof_of_machine_select() function to sof-of-dev.c file and provide
an inline stub in case of non OF builds.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20231129125327.23708-2-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-audio.c
sound/soc/sof/sof-of-dev.c
sound/soc/sof/sof-of-dev.h