[resend,v2] soc: zte: Restrict SOC_ZTE to ARCH_ZX or COMPILE_TEST
diff mbox series

Message ID 1500966738-4431-1-git-send-email-geert@linux-m68k.org
State New, archived
Headers show
Series
  • [resend,v2] soc: zte: Restrict SOC_ZTE to ARCH_ZX or COMPILE_TEST
Related show

Commit Message

Geert Uytterhoeven July 25, 2017, 7:12 a.m. UTC
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>
---
Sent before on 2017-05-29.

v2:
  - Add Reviewed-by.
---
 drivers/soc/zte/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Arnd Bergmann July 27, 2017, 10:57 a.m. UTC | #1
On Tue, Jul 25, 2017 at 9:12 AM, Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
> 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>
> ---
> Sent before on 2017-05-29.

Applied to fixes, thanks

      Arnd

Patch
diff mbox series

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