linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] soc: imx: Fix build error without CONFIG_SOC_BUS
@ 2019-04-24  7:59 Yue Haibing
  2019-04-24  8:11 ` Leonard Crestez
  2019-04-24  9:15 ` [PATCH v2] " Yue Haibing
  0 siblings, 2 replies; 6+ messages in thread
From: Yue Haibing @ 2019-04-24  7:59 UTC (permalink / raw)
  To: shawnguo, s.hauer, kernel, festevam, linux-imx, l.stach,
	aisheng.dong, leonard.crestez, abel.vesa, Anson.Huang
  Cc: linux-kernel, linux-arm-kernel, YueHaibing

From: YueHaibing <yuehaibing@huawei.com>

During randconfig builds, I occasionally run into an invalid configuration

drivers/soc/imx/soc-imx8.o: In function `imx8_soc_init':
soc-imx8.c:(.init.text+0x144): undefined reference to `soc_device_register'

while CONFIG_SOC_BUS is not set, the building failed like this. This patch
selects SOC_BUS to fix it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: a7e26f356ca1 ("soc: imx: Add generic i.MX8 SoC driver")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 drivers/soc/imx/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/soc/imx/Kconfig b/drivers/soc/imx/Kconfig
index d80f899..2fb4e47 100644
--- a/drivers/soc/imx/Kconfig
+++ b/drivers/soc/imx/Kconfig
@@ -5,6 +5,7 @@ config IMX_GPCV2_PM_DOMAINS
 	depends on ARCH_MXC || (COMPILE_TEST && OF)
 	depends on PM
 	select PM_GENERIC_DOMAINS
+	select SOC_BUS
 	default y if SOC_IMX7D
 
 endmenu
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-05-12  1:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-24  7:59 [PATCH] soc: imx: Fix build error without CONFIG_SOC_BUS Yue Haibing
2019-04-24  8:11 ` Leonard Crestez
2019-04-24  8:47   ` YueHaibing
2019-04-24  9:15 ` [PATCH v2] " Yue Haibing
2019-04-24 10:00   ` Leonard Crestez
2019-05-12  1:21   ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).