From 3d21a4b6462aa2578192705b7b1eb4d40054d531 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Tue, 24 Jan 2017 13:09:12 +0100 Subject: [PATCH] clk: mediatek: Fix MT8135 dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The MT8135 is a 32-bit SoC, so only propose it on ARM architecture, not ARM64. Signed-off-by: Jean Delvare Fixes: 234d511d8c15 ("clk: mediatek: Add hardware dependency") Cc: Andreas Färber Acked-by: James Liao Reviewed-by: Matthias Brugger Signed-off-by: Stephen Boyd --- drivers/clk/mediatek/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/mediatek/Kconfig b/drivers/clk/mediatek/Kconfig index 09cf9a6..a01ef78 100644 --- a/drivers/clk/mediatek/Kconfig +++ b/drivers/clk/mediatek/Kconfig @@ -52,9 +52,9 @@ config COMMON_CLK_MT2701_BDPSYS config COMMON_CLK_MT8135 bool "Clock driver for Mediatek MT8135" - depends on ARCH_MEDIATEK || COMPILE_TEST + depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST select COMMON_CLK_MEDIATEK - default ARCH_MEDIATEK + default ARCH_MEDIATEK && ARM ---help--- This driver supports Mediatek MT8135 clocks. -- 2.7.4