Skip to content
Commit fafaa0a2 authored by YueHaibing's avatar YueHaibing Committed by Shawn Guo
Browse files

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: default avatarHulk Robot <hulkci@huawei.com>
Fixes: a7e26f35 ("soc: imx: Add generic i.MX8 SoC driver")
Suggested-by: default avatarLeonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent a188339c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment