Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Geert Uytterhoeven and committed by
Arnd Bergmann
fe89168c 75f4e381

+1
+1
drivers/soc/zte/Kconfig
··· 2 2 # ZTE SoC drivers 3 3 # 4 4 menuconfig SOC_ZTE 5 + depends on ARCH_ZX || COMPILE_TEST 5 6 bool "ZTE SoC driver support" 6 7 7 8 if SOC_ZTE