From d4e15d4821e723a45ea9f0ddd56f7ac36b1c3cca Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Wed, 1 Sep 2021 18:09:53 +0200 Subject: [PATCH] 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 Cc: Peter Collingbourne Cc: Lee Jones Cc: Linus Walleij Cc: Stephen Boyd Link: https://lore.kernel.org/r/20210901180953.5bd2a994@endymion Reviewed-by: Linus Walleij Signed-off-by: Stephen Boyd --- drivers/clk/versatile/Kconfig | 1 + 1 file changed, 1 insertion(+) 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"