From: Jean Delvare Date: Tue, 24 Jan 2017 12:09:12 +0000 (+0100) Subject: clk: mediatek: Fix MT8135 dependencies X-Git-Tag: v4.11-rc1~71^2~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3d21a4b6462aa2578192705b7b1eb4d40054d531;p=platform%2Fkernel%2Flinux-exynos.git clk: mediatek: Fix MT8135 dependencies 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 --- 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.