summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2017-07-25 09:12:18 +0200
committerArnd Bergmann <arnd@arndb.de>2017-07-27 13:12:34 +0200
commitfe89168c4065885700fa4f755a5157392aaae03c (patch)
tree73f56c468742b4952ec931b9f03a2299b0759ab8 /drivers
parent75f4e381315dbba0fa143398fa8cb0e40e4ec224 (diff)
downloadlinux-fe89168c4065885700fa4f755a5157392aaae03c.tar.gz
linux-fe89168c4065885700fa4f755a5157392aaae03c.tar.bz2
linux-fe89168c4065885700fa4f755a5157392aaae03c.zip
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@linux-m68k.org> Reviewed-by: Baoyou Xie <baoyou.xie@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/soc/zte/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/zte/Kconfig b/drivers/soc/zte/Kconfig
index 20bde38ce2f9..e9d750c510cd 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