]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: imx: Fix build error without CONFIG_SOC_BUS
authorYueHaibing <yuehaibing@huawei.com>
Wed, 24 Apr 2019 09:15:17 +0000 (17:15 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 20 May 2019 01:12:20 +0000 (09:12 +0800)
commitfafaa0a27675e7f4d1b58ef44cdc142883f311fe
tree89f8598d5579a14e9dadd8a7864b2df50abb621e
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9
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>
arch/arm64/Kconfig.platforms