summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-04-24 17:15:17 +0800
committerShawn Guo <shawnguo@kernel.org>2019-05-20 09:12:20 +0800
commitfafaa0a27675e7f4d1b58ef44cdc142883f311fe (patch)
tree89f8598d5579a14e9dadd8a7864b2df50abb621e
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9 (diff)
downloadlinux-fafaa0a27675e7f4d1b58ef44cdc142883f311fe.tar.gz
linux-fafaa0a27675e7f4d1b58ef44cdc142883f311fe.tar.bz2
linux-fafaa0a27675e7f4d1b58ef44cdc142883f311fe.zip
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: Hulk Robot <hulkci@huawei.com> Fixes: a7e26f356ca1 ("soc: imx: Add generic i.MX8 SoC driver") Suggested-by: Leonard Crestez <leonard.crestez@nxp.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r--arch/arm64/Kconfig.platforms1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 42eca656faa8..bec78785edde 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -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.