[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1487932245-31882-1-git-send-email-geert@linux-m68k.org>
Date: Fri, 24 Feb 2017 11:30:45 +0100
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Jun Nie <jun.nie@...aro.org>, Baoyou Xie <baoyou.xie@...aro.org>
Cc: Arnd Bergmann <arnd@...db.de>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert@...ux-m68k.org>
Subject: [PATCH] soc: zte: Restrict SOC_ZTE to ARCH_ZX or COMPILE_TEST
The ZTE SoC drivers are only useful when building for a ZTE ZX platform.
Fixes: 4c2c2e39713b8cfb ("soc: zte: pm_domains: Prepare for supporting ARMv8 zx2967 family")
Signed-off-by: Geert Uytterhoeven <geert@...ux-m68k.org>
---
drivers/soc/zte/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/soc/zte/Kconfig b/drivers/soc/zte/Kconfig
index 20bde38ce2f912f5..e9d750c510cd9c90 100644
--- a/drivers/soc/zte/Kconfig
+++ b/drivers/soc/zte/Kconfig
@@ -2,6 +2,7 @@
# ZTE SoC drivers
#
menuconfig SOC_ZTE
+ depends on ARCH_ZX || COMPILE_TEST
bool "ZTE SoC driver support"
if SOC_ZTE
--
2.7.4
Powered by blists - more mailing lists