[PATCH 1/2] soc: mx-socinfo: only build for arm

Kevin Hilman khilman at baylibre.com
Mon Oct 19 18:46:48 EDT 2020


This driver only supports 32-bit ARM SoCs.  Only build it for those.

Signed-off-by: Kevin Hilman <khilman at baylibre.com>
---
 drivers/soc/amlogic/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/amlogic/Kconfig b/drivers/soc/amlogic/Kconfig
index 321c5e26a268..2d7ee1397d59 100644
--- a/drivers/soc/amlogic/Kconfig
+++ b/drivers/soc/amlogic/Kconfig
@@ -63,7 +63,7 @@ config MESON_SECURE_PM_DOMAINS
 
 config MESON_MX_SOCINFO
 	bool "Amlogic Meson MX SoC Information driver"
-	depends on ARCH_MESON || COMPILE_TEST
+	depends on (ARM && ARCH_MESON) || COMPILE_TEST
 	default ARCH_MESON
 	select SOC_BUS
 	help
-- 
2.28.0




More information about the linux-amlogic mailing list