Skip to content

Commit

Permalink
soc: zte: Restrict SOC_ZTE to ARCH_ZX or COMPILE_TEST
Browse files Browse the repository at this point in the history
The ZTE SoC drivers are only useful when building for a ZTE ZX platform.

Fixes: 4c2c2e3 ("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>
  • Loading branch information
Geert Uytterhoeven authored and Arnd Bergmann committed Jul 27, 2017
1 parent 75f4e38 commit fe89168
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/soc/zte/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# ZTE SoC drivers
#
menuconfig SOC_ZTE
depends on ARCH_ZX || COMPILE_TEST
bool "ZTE SoC driver support"

if SOC_ZTE
Expand Down

0 comments on commit fe89168

Please sign in to comment.