Skip to content

Commit bc8c945

Browse files
committed
clk: Move HAVE_CLK config out of architecture layer
The implementation of 'struct clk' is not really an architectual detail anymore now that most architectures have migrated to the common clk framework. To sway new architecture ports away from trying to implement their own 'struct clk', move the config next to the common clk framework config. Cc: Russell King <[email protected]> Cc: Arnd Bergmann <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Reviewed-by: Arnd Bergmann <[email protected]>
1 parent c7725c9 commit bc8c945

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

arch/Kconfig

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -328,12 +328,6 @@ config HAVE_FUNCTION_ARG_ACCESS_API
328328
the API needed to access function arguments from pt_regs,
329329
declared in asm/ptrace.h
330330

331-
config HAVE_CLK
332-
bool
333-
help
334-
The <linux/clk.h> calls support software clock gating and
335-
thus are a key power management tool on many systems.
336-
337331
config HAVE_HW_BREAKPOINT
338332
bool
339333
depends on PERF_EVENTS

drivers/clk/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# SPDX-License-Identifier: GPL-2.0
22

3+
config HAVE_CLK
4+
bool
5+
help
6+
The <linux/clk.h> calls support software clock gating and
7+
thus are a key power management tool on many systems.
8+
39
config CLKDEV_LOOKUP
410
bool
511
select HAVE_CLK

0 commit comments

Comments
 (0)