linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RESEND 1/1] clk: versatile: remove dependency on ARCH_*
@ 2021-05-20 16:17 Lee Jones
  2021-05-20 23:36 ` Linus Walleij
  2021-06-02  1:18 ` Stephen Boyd
  0 siblings, 2 replies; 4+ messages in thread
From: Lee Jones @ 2021-05-20 16:17 UTC (permalink / raw)
  To: lee.jones, linus.walleij, mturquette, sboyd
  Cc: linux-arm-kernel, linux-kernel, linux-clk, Peter Collingbourne

From: Peter Collingbourne <pcc@google.com>

It is now possible to build a modular kernel for vexpress by
not setting CONFIG_ARCH_VEXPRESS=y and instead setting =m on the
drivers that it normally implies. This is with the exception of
CLK_VEXPRESS_OSC which is currently hidden behind a dependency on
one of several ARCH_* variables. Remove that dependency so that
CLK_VEXPRESS_OSC may be enabled without it.

Signed-off-by: Peter Collingbourne <pcc@google.com>
Link: https://linux-review.googlesource.com/id/I435a21e2e5f6187db54f4ef2079b60028ab2ea69
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 drivers/clk/versatile/Kconfig | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/clk/versatile/Kconfig b/drivers/clk/versatile/Kconfig
index 91f0ff54237d2..792315d893db3 100644
--- a/drivers/clk/versatile/Kconfig
+++ b/drivers/clk/versatile/Kconfig
@@ -1,8 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0-only
 
 menu "Clock driver for ARM Reference designs"
-	depends on ARCH_INTEGRATOR || ARCH_REALVIEW || \
-		ARCH_VERSATILE || ARCH_VEXPRESS || COMPILE_TEST
 
 config ICST
 	bool "Clock driver for ARM Reference designs ICST"
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-02  1:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-20 16:17 [RESEND 1/1] clk: versatile: remove dependency on ARCH_* Lee Jones
2021-05-20 23:36 ` Linus Walleij
2021-06-01 14:50   ` Lee Jones
2021-06-02  1:18 ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).