Message ID | 20200409075208.2824062-1-arnd@arndb.de (mailing list archive) |
---|---|
State | Mainlined |
Commit | 4517f4817dc9c39c44102c22d890d41cea9c757f |
Headers | show |
Series | soc: imx8: select SOC_BUS | expand |
> Subject: [PATCH] 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. > > Fixes: fc40200ebf82 ("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> Thanks, Peng.
Hello: This patch was applied to soc/soc.git (refs/heads/for-next). On Thu, 9 Apr 2020 09:51:48 +0200 you wrote: > 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. > > [...] Here is a summary with links: - soc: imx8: select SOC_BUS https://git.kernel.org/soc/soc/c/0566e37100a9a8bc1d0b1e7ea7b34292dfaf154b You are awesome, thank you!
diff --git a/drivers/soc/imx/Kconfig b/drivers/soc/imx/Kconfig index 67aa94b2481b..d515d2cc20ed 100644 --- a/drivers/soc/imx/Kconfig +++ b/drivers/soc/imx/Kconfig @@ -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,
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. Fixes: fc40200ebf82 ("soc: imx: increase build coverage for imx8m soc driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- drivers/soc/imx/Kconfig | 1 + 1 file changed, 1 insertion(+)