mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] soc: zte: Restrict SOC_ZTE to ARCH_ZX or COMPILE_TEST
@ 2017-05-29  7:22 Geert Uytterhoeven
  0 siblings, 0 replies; only message in thread
From: Geert Uytterhoeven @ 2017-05-29  7:22 UTC (permalink / raw)
  To: Jun Nie, Baoyou Xie
  Cc: Arnd Bergmann, linux-arm-kernel, linux-kernel, Geert Uytterhoeven

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@linux-m68k.org>
Reviewed-by: Baoyou Xie <baoyou.xie@linaro.org>
---
v2:
  - Add Reviewed-by.
---
 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-05-29  7:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-29  7:22 [PATCH v2] soc: zte: Restrict SOC_ZTE to ARCH_ZX or COMPILE_TEST Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®