]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit47c6a2772e9cf388f2f7f4958dd049060e004cda
tree933306753241c95aec6137d7ca1f5df7c8f53c37
parentea68e5ae486dd8c349c8b43680bef6beeea43b98
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: 3d851160e9c7 ("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