i.MX8 needs soc_device_register, otherwise the build fails like:

  aarch64-linux-gnu-ld: drivers/soc/imx/soc-imx8.o: in function `imx8_soc_init':
  soc-imx8.c:(.init.text+0x130): undefined reference to `soc_device_register'
  aarch64-linux-gnu-ld: soc-imx8.c:(.init.text+0x130): relocation truncated to 
fit: R_AARCH64_CALL26 against undefined symbol `soc_device_register'
  make: *** [Makefile:1051: vmlinux] Error 1

Signed-off-by: Guido Günther <[email protected]>

---
This was seen on next-20190430.

 arch/arm64/Kconfig.platforms | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 0f4d91824e4b..c86bccbb118a 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -162,6 +162,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.
-- 
2.20.1

Reply via email to