]> git.baikalelectronics.ru Git - kernel.git/commit
soc: imx8: select SOC_BUS
authorArnd Bergmann <arnd@arndb.de>
Thu, 9 Apr 2020 07:51:48 +0000 (09:51 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 17 Apr 2020 15:20:44 +0000 (17:20 +0200)
commit79d94d3d9c9ccf7560a62f2dd0e892dc069cb1bb
tree498c859d62c90389fdad4fe1a12d0c842e4e2c71
parent5c85a043574fca75c899e5c9bf87c30128cb5772
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: 0d8f5ea1b984 ("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>
drivers/soc/imx/Kconfig