soc: zte: Restrict SOC_ZTE to ARCH_ZX or COMPILE_TEST
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 25 Jul 2017 07:12:18 +0000 (09:12 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 27 Jul 2017 11:12:34 +0000 (13:12 +0200)
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>
drivers/soc/zte/Kconfig

index 20bde38ce2f912f547f07874b2b91789c9ee7215..e9d750c510cd9c90a5ac1bb22ddbc89e29c6024f 100644 (file)
@@ -2,6 +2,7 @@
 # ZTE SoC drivers
 #
 menuconfig SOC_ZTE
+       depends on ARCH_ZX || COMPILE_TEST
        bool "ZTE SoC driver support"
 
 if SOC_ZTE