]> Git Repo - J-linux.git/commitdiff
soc: imx8: select SOC_BUS
authorArnd Bergmann <[email protected]>
Thu, 9 Apr 2020 07:51:48 +0000 (09:51 +0200)
committerArnd Bergmann <[email protected]>
Fri, 17 Apr 2020 15:20:44 +0000 (17:20 +0200)
Compile-testing the driver can result in a link failure
when CONFIG_SOC_BUS is disabled:

x86_64-linux-ld: drivers/soc/imx/soc-imx8m.o: in function `imx8_soc_init':
soc-imx8m.c:(.init.text+0x28d): undefined reference to `soc_device_register'

Select it from Kconfig, as we do from the other SoC drivers.

Link: https://lore.kernel.org/r/[email protected]
Fixes: fc40200ebf82 ("soc: imx: increase build coverage for imx8m soc driver")
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Peng Fan <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
drivers/soc/imx/Kconfig

index 67aa94b2481b273f8c8c31127605f60dfebd162d..d515d2cc20ed13d1afb90b99a4151654909da702 100644 (file)
@@ -21,6 +21,7 @@ config SOC_IMX8M
        bool "i.MX8M SoC family support"
        depends on ARCH_MXC || COMPILE_TEST
        default ARCH_MXC && ARM64
+       select SOC_BUS
        help
          If you say yes here you get support for the NXP i.MX8M family
          support, it will provide the SoC info like SoC family,
This page took 0.056576 seconds and 4 git commands to generate.