Skip to content

Commit d4e15d4

Browse files
jdelvarebebarino
authored andcommitted
clk: versatile: hide clock drivers from non-ARM users
Commit 419b3ab ("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 <[email protected]> Cc: Peter Collingbourne <[email protected]> Cc: Lee Jones <[email protected]> Cc: Linus Walleij <[email protected]> Cc: Stephen Boyd <[email protected]> Link: https://lore.kernel.org/r/20210901180953.5bd2a994@endymion Reviewed-by: Linus Walleij <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent 323fd59 commit d4e15d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/clk/versatile/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
menu "Clock driver for ARM Reference designs"
44
depends on HAS_IOMEM
5+
depends on ARM || ARM64 || COMPILE_TEST
56

67
config CLK_ICST
78
bool "Clock driver for ARM Reference designs ICST"

0 commit comments

Comments
 (0)