提交 fafaa0a2 编写于 作者: Y YueHaibing 提交者: Shawn Guo

arm64: imx: Fix build error without CONFIG_SOC_BUS

During randconfig builds, I occasionally run into an invalid configuration

drivers/soc/imx/soc-imx8.o: In function `imx8_soc_init':
soc-imx8.c:(.init.text+0x144): undefined reference to `soc_device_register'

while CONFIG_SOC_BUS is not set, the building failed like this. This patch
selects SOC_BUS to fix it.
Reported-by: NHulk Robot <hulkci@huawei.com>
Fixes: a7e26f35 ("soc: imx: Add generic i.MX8 SoC driver")
Suggested-by: NLeonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: NYueHaibing <yuehaibing@huawei.com>
Signed-off-by: NShawn Guo <shawnguo@kernel.org>
上级 a188339c
......@@ -167,6 +167,7 @@ config ARCH_MXC
select IMX_GPCV2_PM_DOMAINS
select PM
select PM_GENERIC_DOMAINS
select SOC_BUS
help
This enables support for the ARMv8 based SoCs in the
NXP i.MX family.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册