]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl: Fix SND_SOC_EUKREA_TLV320 build error on i.MX8M
authorFabio Estevam <festevam@gmail.com>
Thu, 13 Dec 2018 02:08:38 +0000 (00:08 -0200)
committerMark Brown <broonie@kernel.org>
Thu, 13 Dec 2018 11:01:51 +0000 (11:01 +0000)
commit85f78aa8a11bbbbf5c49ae5fb31fb092a32e46b7
tree59d07149cad37b198514edc8f17453fc66cf0557
parent006780ea9a3c25b32cfb97da1a0b8415fdd38739
ASoC: fsl: Fix SND_SOC_EUKREA_TLV320 build error on i.MX8M

eukrea-tlv320.c machine driver runs on non-DT platforms
and include <asm/mach-types.h> header file in order to be able
to use some machine_is_eukrea_xxx() macros.

Building it for ARM64 causes the following build error:

sound/soc/fsl/eukrea-tlv320.c:28:10: fatal error: asm/mach-types.h: No such file or directory

Avoid this error by not allowing to build the SND_SOC_EUKREA_TLV320
driver when ARM64 is selected.

This is needed in preparation for the i.MX8M support.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/Kconfig