Skip to content

Commit 4517f48

Browse files
committed
soc: imx8: select SOC_BUS
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: fc40200 ("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]>
1 parent b1018eb commit 4517f48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/soc/imx/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ config SOC_IMX8M
2121
bool "i.MX8M SoC family support"
2222
depends on ARCH_MXC || COMPILE_TEST
2323
default ARCH_MXC && ARM64
24+
select SOC_BUS
2425
help
2526
If you say yes here you get support for the NXP i.MX8M family
2627
support, it will provide the SoC info like SoC family,

0 commit comments

Comments
 (0)