linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] soc: imx: Kconfig: force using OF when COMPILE_TEST
@ 2020-06-15 10:21 peng.fan
  2020-06-16  2:41 ` Aisheng Dong
  2020-06-16 15:59 ` Uwe Kleine-König
  0 siblings, 2 replies; 8+ messages in thread
From: peng.fan @ 2020-06-15 10:21 UTC (permalink / raw)
  To: shawnguo, s.hauer, aisheng.dong
  Cc: Peng Fan, leonard.crestez, linux-arm-kernel, kernel, linux-imx

From: Peng Fan <peng.fan@nxp.com>

Fix the build warning with x86_64-randconfig
>> drivers/soc/imx/soc-imx8m.c:150:34: warning: unused variable
>> 'imx8_soc_match' [-Wunused-const-variable]
static const struct of_device_id imx8_soc_match[] = { ^

Fixes: fc40200ebf82 ("soc: imx: increase build coverage for imx8m soc driver")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 drivers/soc/imx/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/imx/Kconfig b/drivers/soc/imx/Kconfig
index d515d2cc20ed..aadf13c9d396 100644
--- a/drivers/soc/imx/Kconfig
+++ b/drivers/soc/imx/Kconfig
@@ -19,7 +19,7 @@ config IMX_SCU_SOC
 
 config SOC_IMX8M
 	bool "i.MX8M SoC family support"
-	depends on ARCH_MXC || COMPILE_TEST
+	depends on ARCH_MXC || (COMPILE_TEST && OF)
 	default ARCH_MXC && ARM64
 	select SOC_BUS
 	help
-- 
2.16.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2020-06-24  3:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-15 10:21 [PATCH] soc: imx: Kconfig: force using OF when COMPILE_TEST peng.fan
2020-06-16  2:41 ` Aisheng Dong
2020-06-16 15:59 ` Uwe Kleine-König
2020-06-16 16:40   ` Robin Murphy
2020-06-17  2:05     ` Peng Fan
2020-06-17  6:05       ` Uwe Kleine-König
2020-06-24  1:54         ` Peng Fan
2020-06-24  3:27           ` 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).