ASoC: SOF: imx: fix undefined reference issue
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 9 Apr 2020 07:18:29 +0000 (10:18 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 15 Apr 2020 22:28:05 +0000 (23:28 +0100)
commitcb0312f61c3e95c71ec8955a94d42bf7eb5ba617
tree933306753241c95aec6137d7ca1f5df7c8f53c37
parentfe17e6cdc0fefca96ba9659be4b2b07487cbf0c5
ASoC: SOF: imx: fix undefined reference issue

make.cross ARCH=mips allyesconfig fails with the following error:

sound/soc/sof/sof-of-dev.o:(.data.sof_of_imx8qxp_desc+0x40): undefined
reference to `sof_imx8x_ops'.

This seems to be a Makefile order issue, solve by using the same
structure as for Intel platforms.

Fixes: f9ad75468453 ("ASoC: SOF: imx: fix reverse CONFIG_SND_SOC_SOF_OF
dependency")
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://lore.kernel.org/r/20200409071832.2039-3-daniel.baluta@oss.nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/imx/Kconfig