mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 07:01:32 +00:00
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/20200409075208.2824062-1-arnd@arndb.de
Fixes: fc40200ebf
("soc: imx: increase build coverage for imx8m soc driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
b1018eb75c
commit
4517f4817d
@ -21,6 +21,7 @@ config SOC_IMX8M
|
|||||||
bool "i.MX8M SoC family support"
|
bool "i.MX8M SoC family support"
|
||||||
depends on ARCH_MXC || COMPILE_TEST
|
depends on ARCH_MXC || COMPILE_TEST
|
||||||
default ARCH_MXC && ARM64
|
default ARCH_MXC && ARM64
|
||||||
|
select SOC_BUS
|
||||||
help
|
help
|
||||||
If you say yes here you get support for the NXP i.MX8M family
|
If you say yes here you get support for the NXP i.MX8M family
|
||||||
support, it will provide the SoC info like SoC family,
|
support, it will provide the SoC info like SoC family,
|
||||||
|
Loading…
Reference in New Issue
Block a user