summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2021-09-01 19:09:53 +0300
committerStephen Boyd <sboyd@kernel.org>2021-10-15 04:00:35 +0300
commitd4e15d4821e723a45ea9f0ddd56f7ac36b1c3cca (patch)
tree044236d3602c7ac009c06dc500f417b5745d276b
parent323fd5955f844d1b6acf1a1af488da460f657ff2 (diff)
downloadlinux-d4e15d4821e723a45ea9f0ddd56f7ac36b1c3cca.tar.xz
clk: versatile: hide clock drivers from non-ARM users
Commit 419b3ab6987f ("clk: versatile: remove dependency on ARCH_*") made the whole menu of ARM reference clock drivers visible on all architectures. I can't see how this is an improvement for non-ARM users. Unless build-testing, there is no point on presenting ARM-only clock drivers on other architectures. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Peter Collingbourne <pcc@google.com> Cc: Lee Jones <lee.jones@linaro.org> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Stephen Boyd <sboyd@kernel.org> Link: https://lore.kernel.org/r/20210901180953.5bd2a994@endymion Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
-rw-r--r--drivers/clk/versatile/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/versatile/Kconfig b/drivers/clk/versatile/Kconfig
index 29b82037e167..403f164954c2 100644
--- a/drivers/clk/versatile/Kconfig
+++ b/drivers/clk/versatile/Kconfig
@@ -2,6 +2,7 @@
menu "Clock driver for ARM Reference designs"
depends on HAS_IOMEM
+ depends on ARM || ARM64 || COMPILE_TEST
config CLK_ICST
bool "Clock driver for ARM Reference designs ICST"