summaryrefslogtreecommitdiffstats
path: root/drivers/clk/mediatek
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2017-01-24 13:09:12 +0100
committerStephen Boyd <sboyd@codeaurora.org>2017-01-27 01:04:31 +0100
commit3d21a4b6462aa2578192705b7b1eb4d40054d531 (patch)
treecb258b0525d8663a5ec1a884cc650dca701b6922 /drivers/clk/mediatek
parentclk: mediatek: Fix MT2701 dependencies (diff)
downloadlinux-3d21a4b6462aa2578192705b7b1eb4d40054d531.tar.xz
linux-3d21a4b6462aa2578192705b7b1eb4d40054d531.zip
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 <jdelvare@suse.de> Fixes: 234d511d8c15 ("clk: mediatek: Add hardware dependency") Cc: Andreas Färber <afaerber@suse.de> Acked-by: James Liao <jamesjj.liao@mediatek.com> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/mediatek')
-rw-r--r--drivers/clk/mediatek/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/mediatek/Kconfig b/drivers/clk/mediatek/Kconfig
index 09cf9a6e563f..a01ef7806aed 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.